mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 19:28:40 +09:00
Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables
This commit is contained in:
parent
9a39001cc3
commit
a6a420259c
4 changed files with 4 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue