Fix errors on Editor shutdown

This commit is contained in:
2026-07-21 23:39:01 +02:00
parent f3af10ca9e
commit 2723f91905
2 changed files with 4 additions and 1 deletions
@@ -310,6 +310,8 @@ namespace FlaxEditor.Windows
private void OnSelectedTabChanged(Tabs tabs)
{
if (IsDisposing)
return;
ApplySearchFilter();
}
+2 -1
View File
@@ -119,7 +119,8 @@ namespace FlaxEngine.GUI
/// <param name="force">True if move to the front by force, otherwise false.</param>
public void BringToFront(bool force = false)
{
_window.BringToFront(force);
if (_window && _window.IsVisible)
_window.BringToFront(force);
}
/// <summary>