fix: zombie windows when fullscreening and closing (#34391)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2022-05-31 15:36:50 +02:00
committed by GitHub
parent b9d16ab3eb
commit 3ad5a45173
4 changed files with 46 additions and 5 deletions

View File

@@ -248,6 +248,9 @@ using FullScreenTransitionState =
shell_->NotifyWindowEnterFullScreen();
if (shell_->HandleDeferredClose())
return;
shell_->HandlePendingFullscreenTransitions();
}
@@ -263,6 +266,9 @@ using FullScreenTransitionState =
shell_->SetResizable(is_resizable_);
shell_->NotifyWindowLeaveFullScreen();
if (shell_->HandleDeferredClose())
return;
shell_->HandlePendingFullscreenTransitions();
}