Stop forcing references for resourced invalidated by freed bound memory

This commit is contained in:
baldurk
2022-08-07 18:56:11 +01:00
parent 0a39b3d6e8
commit a8f0fb1736
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ struct ResourceRecord
Parents.push_back(r);
}
}
bool HasParent(ResourceRecord *r) const { return Parents.indexOf(r) >= 0; }
void MarkParentsDirty(ResourceRecordHandler *mgr)
{
for(auto it = Parents.begin(); it != Parents.end(); ++it)