mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 620832 - Web console attempts to remove its observers multiple times; f=ddahl,rcampbell r=sdwilsh,rcampbell
This commit is contained in:
parent
4ae7ec1498
commit
967ea20a1d
@ -3527,7 +3527,7 @@ let ConsoleAPIObserver = {
|
||||
HUDService.logConsoleAPIMessage(hudId, aMessage.level, aMessage.arguments);
|
||||
}
|
||||
else if (aTopic == "quit-application-granted") {
|
||||
this.shutdown();
|
||||
HUDService.shutdown();
|
||||
}
|
||||
},
|
||||
|
||||
@ -5845,7 +5845,7 @@ HUDWindowObserver = {
|
||||
uninit: function HWO_uninit()
|
||||
{
|
||||
Services.obs.removeObserver(this, "content-document-global-created");
|
||||
HUDService.shutdown();
|
||||
Services.obs.removeObserver(this, "xpcom-shutdown");
|
||||
this.initialConsoleCreated = false;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user