2019-07-16 19:59:21 +02:00
|
|
|
diff --git content/browser/scheduler/browser_task_executor.cc content/browser/scheduler/browser_task_executor.cc
|
2020-07-08 19:23:29 +02:00
|
|
|
index df3ab602e8b8..fa864443fe35 100644
|
2019-07-16 19:59:21 +02:00
|
|
|
--- content/browser/scheduler/browser_task_executor.cc
|
|
|
|
+++ content/browser/scheduler/browser_task_executor.cc
|
2020-07-08 19:23:29 +02:00
|
|
|
@@ -240,7 +240,7 @@ void BrowserTaskExecutor::PostFeatureListSetup() {
|
2019-07-16 19:59:21 +02:00
|
|
|
|
|
|
|
// static
|
|
|
|
void BrowserTaskExecutor::Shutdown() {
|
|
|
|
- if (!g_browser_task_executor)
|
2019-11-12 17:11:44 +01:00
|
|
|
+ if (!g_browser_task_executor || !g_browser_task_executor->ui_thread_executor_)
|
2019-07-16 19:59:21 +02:00
|
|
|
return;
|
|
|
|
|
2019-11-12 17:11:44 +01:00
|
|
|
DCHECK(g_browser_task_executor->ui_thread_executor_);
|