Ensure editor window deletion is deferred

This commit is contained in:
Jack Andersen 2019-05-28 19:32:18 -10:00
parent 7c48aee672
commit 9b95f0b33d
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ void CEditorApplication::OnEditorClose()
if (pEditor != mpWorldEditor->TweakEditor()) if (pEditor != mpWorldEditor->TweakEditor())
{ {
delete pEditor; pEditor->deleteLater();
} }
if (mpActiveProject) if (mpActiveProject)