зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1384687 - label NotifyGCEndRunnable; r=billm
All the other timers and GC-related things in this file run on the system group, so this one can too.
This commit is contained in:
Родитель
afbbfaffc3
Коммит
9022a3b519
|
@ -2451,7 +2451,7 @@ DOMGCSliceCallback(JSContext* aCx, JS::GCProgress aProgress, const JS::GCDescrip
|
|||
nsString json;
|
||||
json.Adopt(aDesc.formatJSON(aCx, PR_Now()));
|
||||
RefPtr<NotifyGCEndRunnable> notify = new NotifyGCEndRunnable(json);
|
||||
NS_DispatchToMainThread(notify);
|
||||
SystemGroup::Dispatch(TaskCategory::GarbageCollection, notify.forget());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче