fix: zombie windows when fullscreening and closing (#34378)
This commit is contained in:
parent
93b39b92b5
commit
2cb53c5db1
4 changed files with 46 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue