mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-14 05:09:23 +00:00
win: dxil.dll is no longer distributed mac: Xcode 27 (macOS 26.6+) is now required
18 lines
877 B
Diff
18 lines
877 B
Diff
diff --git content/browser/scheduler/browser_task_executor.cc content/browser/scheduler/browser_task_executor.cc
|
|
index 09614985b936857db61013f774d668204dd2fe26..955d0cd3daadbbf5531d5196ed803b40acb77125 100644
|
|
--- content/browser/scheduler/browser_task_executor.cc
|
|
+++ content/browser/scheduler/browser_task_executor.cc
|
|
@@ -230,11 +230,10 @@ void BrowserTaskExecutor::ResetForTesting() {
|
|
|
|
// static
|
|
void BrowserTaskExecutor::Shutdown() {
|
|
- if (!g_browser_task_executor) {
|
|
+ if (!g_browser_task_executor || !Get()->browser_ui_thread_scheduler_) {
|
|
return;
|
|
}
|
|
|
|
- CHECK(Get()->browser_ui_thread_scheduler_, base::NotFatalUntil::M160);
|
|
// We don't delete |g_browser_task_executor| because other threads may
|
|
// PostTask or call BrowserTaskExecutor::GetTaskRunner while we're tearing
|
|
// things down. We don't want to add locks so we just leak instead of dealing
|