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

This commit is contained in:
Shelley Vohr 2022-05-31 10:43:42 +02:00 committed by GitHub
parent 93b39b92b5
commit 2cb53c5db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();
}