Bug 1345036 - label shutdown event dispatching. r=jwwang

MozReview-Commit-ID: HfiocBzddNS

--HG--
extra : rebase_source : 2649dd6aa17225f14a4972b549f4270ef5ea0b7f
This commit is contained in:
John Lin 2017-03-09 13:43:30 +08:00
Родитель 017020976f
Коммит 81388b32c4
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -324,7 +324,7 @@ ServeResourceEvent::Shutdown()
// To shutdown the current thread we need to first exit this event.
// The Shutdown event below is posted to the main thread to do this.
nsCOMPtr<nsIRunnable> event = new ShutdownThreadEvent(NS_GetCurrentThread());
NS_DispatchToMainThread(event);
SystemGroup::Dispatch("ServeResourceEvent::Shutdown", TaskCategory::Other, event.forget());
}
/*