зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1000499 - JavaScript Error: "this.removeMessageListener is not a function". r=dimi
This commit is contained in:
Родитель
7139caa8c8
Коммит
074230ebaa
|
@ -362,7 +362,7 @@ NfcContentHelper.prototype = {
|
|||
// nsIObserver
|
||||
observe: function observe(subject, topic, data) {
|
||||
if (topic == "xpcom-shutdown") {
|
||||
this.removeMessageListener();
|
||||
this.destroyDOMRequestHelper();
|
||||
Services.obs.removeObserver(this, "xpcom-shutdown");
|
||||
cpmm = null;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче