[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 364/483: Topic 9236 - Doesn't shut down correctly (chrome namespace removed too early)

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 69bafa19f962a0130198d1d6959e15f27fc4d896
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Jan 6 10:27:24 2012 +0100

    Topic 9236 - Doesn't shut down correctly (chrome namespace removed too early)
---
 bootstrap.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bootstrap.js b/bootstrap.js
index 0f44ad1..7e04a77 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -28,9 +28,6 @@ function startup(params, reason)
 
 function shutdown(params, reason)
 {
-  if (Services.vc.compare(Services.appinfo.platformVersion, "10.0") < 0)
-    Components.manager.removeBootstrappedManifestLocation(params.installPath);
-
   AppIntegration.shutdown();
   Cu.unload("chrome://elemhidehelper-modules/content/AppIntegration.jsm");
 
@@ -45,4 +42,7 @@ function shutdown(params, reason)
       break;
     helperWnd.close();
   }
+
+  if (Services.vc.compare(Services.appinfo.platformVersion, "10.0") < 0)
+    Components.manager.removeBootstrappedManifestLocation(params.installPath);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list