From 11d50b03e2d7d27f613f9a6ea2b8e85624ba7da1 Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Wed, 1 Jun 2016 15:05:54 -0700 Subject: [PATCH] Bug 1277052 - Remove the unused xpcomThreadsShutdown. r=Yoric This should be xpcom-shutdown-threads, not xpcom-threads-shutdown, but it is unused so I just removed it. --- toolkit/components/asyncshutdown/AsyncShutdown.jsm | 1 - toolkit/components/asyncshutdown/nsAsyncShutdown.js | 1 - toolkit/components/asyncshutdown/nsIAsyncShutdown.idl | 5 ----- 3 files changed, 7 deletions(-) diff --git a/toolkit/components/asyncshutdown/AsyncShutdown.jsm b/toolkit/components/asyncshutdown/AsyncShutdown.jsm index 59278b5710c2..400b4c990d34 100644 --- a/toolkit/components/asyncshutdown/AsyncShutdown.jsm +++ b/toolkit/components/asyncshutdown/AsyncShutdown.jsm @@ -1036,7 +1036,6 @@ 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; diff --git a/toolkit/components/asyncshutdown/nsAsyncShutdown.js b/toolkit/components/asyncshutdown/nsAsyncShutdown.js index cfb78dd667d7..4e748b57cb5d 100644 --- a/toolkit/components/asyncshutdown/nsAsyncShutdown.js +++ b/toolkit/components/asyncshutdown/nsAsyncShutdown.js @@ -238,7 +238,6 @@ function nsAsyncShutdownService() { // All processes "webWorkersShutdown", "xpcomWillShutdown", - "xpcomThreadsShutdown", ]) { let k = _k; Object.defineProperty(this, k, { diff --git a/toolkit/components/asyncshutdown/nsIAsyncShutdown.idl b/toolkit/components/asyncshutdown/nsIAsyncShutdown.idl index 108f08b0e369..018819bc6ae9 100644 --- a/toolkit/components/asyncshutdown/nsIAsyncShutdown.idl +++ b/toolkit/components/asyncshutdown/nsIAsyncShutdown.idl @@ -213,11 +213,6 @@ interface nsIAsyncShutdownService: nsISupports { // Don't add a barrier for content-child-shutdown because this // makes it easier to cause shutdown hangs. - /** - * Barrier for notification xpcom-threads-shutdown. - */ - readonly attribute nsIAsyncShutdownClient xpcomThreadsShutdown; - }; %{C++