Mac: cefclient: Fix crash when quitting from the top menu (fixes issue #3201)

This commit is contained in:
Marshall Greenblatt 2021-10-22 18:36:25 -04:00
parent aa1399f790
commit fae1402a6e
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ void RootWindowManager::CloseAllWindows(bool force) {
// in OnRootWindowDestroyed while iterating.
RootWindowSet root_windows = root_windows_;
for (auto root_window : root_windows_) {
for (auto root_window : root_windows) {
root_window->Close(force);
}
}