diff options
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r-- | content/shell/shell.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc index eaac653..e85d976 100644 --- a/content/shell/shell.cc +++ b/content/shell/shell.cc @@ -91,7 +91,7 @@ void Shell::CloseAllWindows() { std::vector<Shell*> open_windows(windows_); for (size_t i = 0; i < open_windows.size(); ++i) open_windows[i]->Close(); - MessageLoop::current()->RunAllPending(); + MessageLoop::current()->RunUntilIdle(); } void Shell::SetShellCreatedCallback( |