fix(new_editor): stabilize detached window close lifecycle
This commit is contained in:
@@ -233,7 +233,9 @@ bool EditorWindow::Initialize(
|
||||
void EditorWindow::Shutdown() {
|
||||
ForceReleasePointerCapture();
|
||||
|
||||
m_runtime->Shutdown();
|
||||
if (m_runtime->IsReady()) {
|
||||
m_runtime->Shutdown();
|
||||
}
|
||||
m_inputController->ClearPendingEvents();
|
||||
m_chromeController->Reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user