mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +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
|
|
@ -238,7 +238,7 @@ DataChannelConnection::~DataChannelConnection()
|
|||
// Avoid spinning the event thread from here (which if we're mainthread
|
||||
// is in the event loop already)
|
||||
NS_DispatchToMainThread(WrapRunnable(nsCOMPtr<nsIThread>(mInternalIOThread),
|
||||
&nsIThread::Shutdown),
|
||||
&nsIThread::AsyncShutdown),
|
||||
NS_DISPATCH_NORMAL);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue