chrome: Fix shutdown crashes with multi-threaded-message-loop (fixes issue #3403)

This commit is contained in:
Marshall Greenblatt
2022-09-29 12:37:59 -04:00
parent 4d1fd05740
commit 4e43f90244
3 changed files with 58 additions and 8 deletions

View File

@@ -74,6 +74,7 @@ void ChromeMainRunnerDelegate::AfterUIThreadShutdown() {
static_cast<ChromeContentBrowserClient*>(
CefAppManager::Get()->GetContentClient()->browser())
->CleanupOnUIThread();
main_delegate_->CleanupOnUIThread();
}
void ChromeMainRunnerDelegate::AfterMainThreadShutdown() {