Fix various asset windows shutdown when editor is disposing during crash
This commit is contained in:
@@ -307,6 +307,8 @@ namespace FlaxEditor.Windows.Assets
|
||||
/// <inheritdoc />
|
||||
public override void OnDestroy()
|
||||
{
|
||||
if (IsDisposing)
|
||||
return;
|
||||
base.OnDestroy();
|
||||
|
||||
Object.Destroy(ref _collisionWiresShowActor);
|
||||
|
||||
Reference in New Issue
Block a user