зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1345036 - label shutdown event dispatching. r=jwwang
MozReview-Commit-ID: HfiocBzddNS --HG-- extra : rebase_source : 2649dd6aa17225f14a4972b549f4270ef5ea0b7f
This commit is contained in:
Родитель
017020976f
Коммит
81388b32c4
|
@ -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());
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче