mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-01 11:57:04 +01:00
Mac: cefclient: Fix crash when quitting from the top menu (fixes issue #3201)
This commit is contained in:
parent
b72460bbe3
commit
c56de64d6b
@ -251,7 +251,7 @@ void RootWindowManager::CloseAllWindows(bool force) {
|
|||||||
// in OnRootWindowDestroyed while iterating.
|
// in OnRootWindowDestroyed while iterating.
|
||||||
RootWindowSet root_windows = root_windows_;
|
RootWindowSet root_windows = root_windows_;
|
||||||
|
|
||||||
for (auto root_window : root_windows_) {
|
for (auto root_window : root_windows) {
|
||||||
root_window->Close(force);
|
root_window->Close(force);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user