Blast gem cleanup m_materialLibrary asset on Deactivate to avoid holding onto asset reference after AssetManager has shutdown (#5505)
Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>
This commit is contained in:
@@ -151,6 +151,8 @@ namespace Blast
|
||||
SaveConfiguration();
|
||||
DeactivatePhysics();
|
||||
|
||||
m_configuration.m_materialLibrary.Release();
|
||||
|
||||
m_assetHandlers.clear();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user