diff options
author | Martok <martok@martoks-place.de> | 2023-01-01 13:46:00 +0100 |
---|---|---|
committer | Martok <martok@martoks-place.de> | 2023-01-04 00:50:17 +0100 |
commit | cbcf9b9d8eef8a618c6a9c362fb44a85a402070b (patch) | |
tree | 2afb8fc7fe04d99662ce35c9a87dd5881b148855 /dom/cache/Manager.cpp | |
parent | d28497f2cf5a489caa468c898ca1104547e31c61 (diff) | |
download | uxp-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.cpp | 2 |
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 |