6555be2636
* chore: bump chromium to 74.0.3729.5 (master) * Remove ScopedBlockingCall constructor without location https://chromium-review.googlesource.com/c/chromium/src/+/1496560 * Use XCode 9.4.1 for Mac SDK 10.13 * chore: roll chromium 74.0.3729.27
22 lines
938 B
Diff
22 lines
938 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: deepak1556 <hop2deep@gmail.com>
|
|
Date: Thu, 18 Oct 2018 17:07:42 -0700
|
|
Subject: content_browser_main_loop.patch
|
|
|
|
Pass idle quit closure for main message loop, so that pending tasks are
|
|
run before shutdown. This is required to cleanup WebContents asynchronously
|
|
in atom::CommonWebContentsDelegate::ResetManageWebContents.
|
|
|
|
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
|
index c964fa664130a1a1694cbe876df0d47d17f5818c..d9711114839e7b68ee4fe71590854833d8302b28 100644
|
|
--- a/content/browser/browser_main_loop.cc
|
|
+++ b/content/browser/browser_main_loop.cc
|
|
@@ -1547,7 +1547,7 @@ void BrowserMainLoop::MainMessageLoopRun() {
|
|
}
|
|
|
|
base::RunLoop run_loop;
|
|
- parts_->PreDefaultMainMessageLoopRun(run_loop.QuitClosure());
|
|
+ parts_->PreDefaultMainMessageLoopRun(run_loop.QuitWhenIdleClosure());
|
|
run_loop.Run();
|
|
#endif
|
|
}
|