mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-14 13:19:26 +00:00
win: dxil.dll is no longer distributed mac: Xcode 27 (macOS 26.6+) is now required
17 lines
778 B
Diff
17 lines
778 B
Diff
diff --git chrome/browser/task_manager/sampling/task_manager_impl.cc chrome/browser/task_manager/sampling/task_manager_impl.cc
|
|
index 5cd0a4663f03acf2b8c8d3342f9bbd9a4e4c47b1..ead45693e24c8bf283833de8ff65857ec4faab8f 100644
|
|
--- chrome/browser/task_manager/sampling/task_manager_impl.cc
|
|
+++ chrome/browser/task_manager/sampling/task_manager_impl.cc
|
|
@@ -712,6 +712,11 @@ void TaskManagerImpl::StopUpdating() {
|
|
|
|
is_running_ = false;
|
|
|
|
+ // Drop any in-flight async callbacks (e.g. memory-dump replies and GPU
|
|
+ // video-memory stats) so they don't fire into a stopped task manager.
|
|
+ weak_ptr_factory_.InvalidateWeakPtrs();
|
|
+ waiting_for_memory_dump_ = false;
|
|
+
|
|
content::GetNetworkService()->EnableDataUseUpdates(false);
|
|
|
|
for (const auto& provider : task_providers_)
|