summaryrefslogtreecommitdiff
path: root/image
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 /image
parentd28497f2cf5a489caa468c898ca1104547e31c61 (diff)
downloaduxp-cbcf9b9d8eef8a618c6a9c362fb44a85a402070b.tar.gz
Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables
Diffstat (limited to 'image')
-rw-r--r--image/DecodePool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/DecodePool.cpp b/image/DecodePool.cpp
index 0aeed61547..f9d72df168 100644
--- a/image/DecodePool.cpp
+++ b/image/DecodePool.cpp
@@ -72,7 +72,7 @@ public:
{
// Threads have to be shut down from another thread, so we'll ask the
// main thread to do it for us.
- NS_DispatchToMainThread(NewRunnableMethod(aThisThread, &nsIThread::Shutdown));
+ NS_DispatchToMainThread(NewRunnableMethod(aThisThread, &nsIThread::AsyncShutdown));
}
/**