зеркало из https://github.com/mozilla/pjs.git
Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking.
This commit is contained in:
Родитель
b4eeea3edf
Коммит
5827a2f72c
|
@ -271,7 +271,9 @@ public:
|
|||
void
|
||||
TraceInstance(JSTracer* aTrc)
|
||||
{
|
||||
AssertIsOnParentThread();
|
||||
// This should only happen on the parent thread but we can't assert that
|
||||
// because it can also happen on the cycle collector thread when this is a
|
||||
// top-level worker.
|
||||
events::EventTarget::TraceInstance(aTrc);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче