Bug 1276383 - Add nsIAsyncShutdown.xpcomWillShutdown and use it in WebRTC. r=Yoric,jib

This commit is contained in:
Andrew McCreight
2016-06-01 15:05:53 -07:00
parent 1c221b799c
commit 4556cffe24
6 changed files with 16 additions and 6 deletions

View File

@@ -1037,6 +1037,7 @@ if (isContent) {
// All processes
this.AsyncShutdown.webWorkersShutdown = getPhase("web-workers-shutdown");
this.AsyncShutdown.xpcomWillShutdown = getPhase("xpcom-will-shutdown");
this.AsyncShutdown.xpcomThreadsShutdown = getPhase("xpcom-threads-shutdown");
this.AsyncShutdown.Barrier = Barrier;