Improve ObjectsRemovalService to handle newly added objects removing

This commit is contained in:
Wojtek Figat
2023-10-11 17:41:35 +02:00
parent 6dd9f0f036
commit 8f3a5bd74a
2 changed files with 24 additions and 6 deletions

View File

@@ -190,7 +190,6 @@ DEFINE_INTERNAL_CALL(bool) ScriptingInternal_IsTypeFromGameScripts(MTypeObject*
DEFINE_INTERNAL_CALL(void) ScriptingInternal_FlushRemovedObjects()
{
ASSERT(IsInMainThread());
ObjectsRemovalService::Flush();
}