mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Bug 1736385 - Make sure thread is alive in CacheIOThread::ThreadFunc
This commit is contained in:
parent
bcbe73119f
commit
600142110d
1 changed files with 1 additions and 1 deletions
|
|
@ -417,6 +417,7 @@ void CacheIOThread::ThreadFunc()
|
|||
threadInternal->SetObserver(this);
|
||||
|
||||
mXPCOMThread = xpcomThread.forget().take();
|
||||
nsCOMPtr<nsIThread> thread = NS_GetCurrentThread();
|
||||
|
||||
lock.NotifyAll();
|
||||
|
||||
|
|
@ -437,7 +438,6 @@ loopStart:
|
|||
bool processedEvent;
|
||||
nsresult rv;
|
||||
do {
|
||||
nsIThread *thread = mXPCOMThread;
|
||||
rv = thread->ProcessNextEvent(false, &processedEvent);
|
||||
|
||||
MOZ_ASSERT(mBlockingIOWatcher);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue