fix: DCHECK when calling app.exit() (#33035)
This commit is contained in:
parent
5b2d3910c1
commit
268cd31e38
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void WindowList::DestroyAllWindows() {
|
|||
ConvertToWeakPtrVector(GetInstance()->windows_);
|
||||
|
||||
for (const auto& window : weak_windows) {
|
||||
if (window)
|
||||
if (window && !window->IsClosed())
|
||||
window->CloseImmediately();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue