Remove dead code in the ibCore.jsm (the uninit method was never called), r=aleth over IRC.
Remove dead code in the ibCore.jsm (the uninit method was never called), r=aleth over IRC.
--- 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;