Remove dead code in the ibCore.jsm (the uninit method was never called), r=aleth over IRC.
authorFlorian Quèze <florian@instantbird.org>
Thu, 14 Jun 2012 14:58:16 +0200
changeset 18699 a680cec7ad2efee18da43ebfcfecf7659901ed52
parent 18698 ac8b54e7207ca75002baf800ad00be5fd98efa06
child 18700 238eced2834aed8508802a15911df8ea508e5231
push id1103
push usermbanner@mozilla.com
push dateTue, 18 Mar 2014 07:44:06 +0000
treeherdercomm-beta@50c6279a0af0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleth
Remove dead code in the ibCore.jsm (the uninit method was never called), r=aleth over IRC.
im/modules/ibCore.jsm
--- a/im/modules/ibCore.jsm
+++ b/im/modules/ibCore.jsm
@@ -172,26 +172,16 @@ var Core = {
     }
 
     if (aTopic == "quit-application-requested") {
       this._onQuitRequest(aSubject, aMsg);
       return;
     }
   },
 
-  uninit: function() {
-    try {
-      Services.core.quit();
-    }
-    catch (e) {
-      Services.prompt.alert(null, "Shutdown Error",
-                            "An error occurred while shutting down purplexpcom: " + e);
-    }
-  },
-
   _onQuitRequest: function (aCancelQuit, aQuitType) {
     // The request has already been canceled somewhere else
     if ((aCancelQuit instanceof Components.interfaces.nsISupportsPRBool)
          && aCancelQuit.data)
       return;
 
     if (!Services.prefs.getBoolPref("messenger.warnOnQuit"))
       return;