Fix various asset windows shutdown when editor is disposing during crash

This commit is contained in:
Wojtek Figat
2025-01-24 22:55:21 +01:00
parent 0b48a274e5
commit d4c72487cd
15 changed files with 54 additions and 28 deletions

View File

@@ -307,6 +307,8 @@ namespace FlaxEditor.Windows.Assets
/// <inheritdoc />
public override void OnDestroy()
{
if (IsDisposing)
return;
base.OnDestroy();
Object.Destroy(ref _collisionWiresShowActor);