fix #2030: brain fart bug

This commit is contained in:
gorhill 2016-09-26 00:07:29 -04:00
parent 0c4137937d
commit 56176c8eb7
3 changed files with 2 additions and 14 deletions

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "uBlock Origin",
"version": "1.9.11.100",
"version": "1.9.11.101",
"default_locale": "en",
"description": "__MSG_extShortDesc__",

View File

@ -422,10 +422,6 @@ var contentObserver = {
sandbox.removeMessageListener =
sandbox.sendAsyncMessage = function(){};
sandbox.vAPI = {};
if ( messager && messager.ublock0LocationChangeListener ) {
messager.ublock0LocationChangeListener.stop();
delete messager.ublock0LocationChangeListener;
}
messager = null;
};
}
@ -596,7 +592,6 @@ var LocationChangeListener = function(docShell, webProgress) {
return;
}
this.messageManager = mm;
this.webProgress = webProgress;
webProgress.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_LOCATION);
};
@ -617,13 +612,6 @@ LocationChangeListener.prototype.onLocationChange = function(webProgress, reques
});
};
LocationChangeListener.prototype.stop = function() {
if ( this.webProgress ) {
this.webProgress.removeProgressListener(this);
}
this.messageManager = this.webProgress = null;
};
/******************************************************************************/
contentObserver.register();

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "uBlock Origin",
"version": "1.9.11.100",
"version": "1.9.11.101",
"default_locale": "en",
"description": "__MSG_extShortDesc__",