2019-07-16 13:59:21 -04:00
|
|
|
diff --git content/browser/scheduler/browser_task_executor.cc content/browser/scheduler/browser_task_executor.cc
|
2020-04-14 15:31:00 -04:00
|
|
|
index 332ef34e24dc..ee866ca5f3b6 100644
|
2019-07-16 13:59:21 -04:00
|
|
|
--- content/browser/scheduler/browser_task_executor.cc
|
|
|
|
+++ content/browser/scheduler/browser_task_executor.cc
|
2020-03-30 16:13:42 -04:00
|
|
|
@@ -244,7 +244,7 @@ void BrowserTaskExecutor::PostFeatureListSetup() {
|
2019-07-16 13:59:21 -04:00
|
|
|
|
|
|
|
// static
|
|
|
|
void BrowserTaskExecutor::Shutdown() {
|
|
|
|
- if (!g_browser_task_executor)
|
2019-11-12 11:11:44 -05:00
|
|
|
+ if (!g_browser_task_executor || !g_browser_task_executor->ui_thread_executor_)
|
2019-07-16 13:59:21 -04:00
|
|
|
return;
|
|
|
|
|
2019-11-12 11:11:44 -05:00
|
|
|
DCHECK(g_browser_task_executor->ui_thread_executor_);
|