Expose IsDuringPlay property for actors and scripts to use in scripting

This commit is contained in:
Wojciech Figat
2022-07-29 14:52:41 +02:00
parent e16cbdbfd0
commit 4b6e75c0af
2 changed files with 4 additions and 1 deletions

View File

@@ -166,6 +166,9 @@ void ContentService::Dispose()
// Save assets registry before engine closing
Cache.Save();
// Flush objects (some asset-related objects/references may be pending to delete)
ObjectsRemovalService::Flush();
// Unload all remaining assets
{
ScopeLock lock(AssetsLocker);