diff --git content/browser/scheduler/browser_task_executor.cc content/browser/scheduler/browser_task_executor.cc index cf85dd542a27a..d663df4fa92af 100644 --- content/browser/scheduler/browser_task_executor.cc +++ content/browser/scheduler/browser_task_executor.cc @@ -240,7 +240,7 @@ void BrowserTaskExecutor::PostFeatureListSetup() { // 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_);