2019-07-16 13:59:21 -04:00
|
|
|
diff --git content/browser/scheduler/browser_task_executor.cc content/browser/scheduler/browser_task_executor.cc
|
2021-10-28 14:36:24 +00:00
|
|
|
index 0cf2b0daa0a56..3778e8e7a7711 100644
|
2019-07-16 13:59:21 -04:00
|
|
|
--- content/browser/scheduler/browser_task_executor.cc
|
|
|
|
+++ content/browser/scheduler/browser_task_executor.cc
|
2021-10-28 14:36:24 +00:00
|
|
|
@@ -315,7 +315,7 @@ BrowserTaskExecutor::OnUserInputStart() {
|
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;
|
|
|
|
|
2020-10-08 15:54:42 -04:00
|
|
|
DCHECK(Get()->ui_thread_executor_);
|