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:
Nathan Froyd 2017-07-27 13:32:15 -04:00
Родитель afbbfaffc3
Коммит 9022a3b519
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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());
}
}