зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1037754: Must always use SyncRunnable for DISPATCH_SYNC on non-nsThreads or risk leaks r=drno
This commit is contained in:
Родитель
3bf8efc62d
Коммит
e1e445ccda
|
@ -267,9 +267,8 @@ bool VcmSIPCCBinding::scanForGmpCodecs()
|
|||
return false;
|
||||
}
|
||||
// presumes that all GMP dir scans have been queued for the GMPThread
|
||||
RUN_ON_THREAD(thread,
|
||||
WrapRunnableNM(&GMPDummy),
|
||||
NS_DISPATCH_SYNC);
|
||||
mozilla::SyncRunnable::DispatchToThread(thread,
|
||||
WrapRunnableNM(&GMPDummy));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче