mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1084979 - Use removeMessageListener instead of addMessageListener in SpecialPowers.unregisterProcessCrashObservers. r=jmaher
This commit is contained in:
parent
f71975b256
commit
aacad5508f
@ -71,7 +71,7 @@ SpecialPowers.prototype.registerProcessCrashObservers = function() {
|
||||
};
|
||||
|
||||
SpecialPowers.prototype.unregisterProcessCrashObservers = function() {
|
||||
addMessageListener("SPProcessCrashService", this._messageListener);
|
||||
removeMessageListener("SPProcessCrashService", this._messageListener);
|
||||
sendSyncMessage("SPProcessCrashService", { op: "unregister-observer" });
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user