14 lines
549 B
Diff
14 lines
549 B
Diff
diff --git content/browser/scheduler/browser_task_executor.cc content/browser/scheduler/browser_task_executor.cc
|
|
index 24f9538d6fd0d..0d57d47d70d38 100644
|
|
--- content/browser/scheduler/browser_task_executor.cc
|
|
+++ content/browser/scheduler/browser_task_executor.cc
|
|
@@ -209,7 +209,7 @@ BrowserTaskExecutor::OnUserInputStart() {
|
|
|
|
// static
|
|
void BrowserTaskExecutor::Shutdown() {
|
|
- if (!g_browser_task_executor)
|
|
+ if (!g_browser_task_executor || !g_browser_task_executor->ui_thread_executor_)
|
|
return;
|
|
|
|
DCHECK(Get()->ui_thread_executor_);
|