summaryrefslogtreecommitdiff
path: root/dom/cache/Manager.cpp
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-01-01 13:46:00 +0100
committerMartok <martok@martoks-place.de>2023-01-04 00:50:17 +0100
commitcbcf9b9d8eef8a618c6a9c362fb44a85a402070b (patch)
tree2afb8fc7fe04d99662ce35c9a87dd5881b148855 /dom/cache/Manager.cpp
parentd28497f2cf5a489caa468c898ca1104547e31c61 (diff)
downloaduxp-cbcf9b9d8eef8a618c6a9c362fb44a85a402070b.tar.gz
Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables
Diffstat (limited to 'dom/cache/Manager.cpp')
-rw-r--r--dom/cache/Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/cache/Manager.cpp b/dom/cache/Manager.cpp
index f294beb544..d2e63a6213 100644
--- a/dom/cache/Manager.cpp
+++ b/dom/cache/Manager.cpp
@@ -1770,7 +1770,7 @@ Manager::~Manager()
// Don't spin the event loop in the destructor waiting for the thread to
// shutdown. Defer this to the main thread, instead.
- MOZ_ALWAYS_SUCCEEDS(NS_DispatchToMainThread(NewRunnableMethod(ioThread, &nsIThread::Shutdown)));
+ MOZ_ALWAYS_SUCCEEDS(NS_DispatchToMainThread(NewRunnableMethod(ioThread, &nsIThread::AsyncShutdown)));
}
void