Bug 1251959 - Fix "this.contentChatNode is null" on shutdown. r=aleth
--HG-- extra : amend_source : 9e2425d4f4bc78956f1125bc6b3ce765653ff500
This commit is contained in:
Родитель
e904f4e448
Коммит
df0bf7f5a2
|
@ -318,8 +318,11 @@
|
|||
|
||||
this.uninitMagicCopy();
|
||||
|
||||
this.contentChatNode
|
||||
.removeEventListener("load", this.onContentElementLoad, true);
|
||||
if (this.contentChatNode) {
|
||||
// Remove the listener only if the conversation was initialized.
|
||||
this.contentChatNode
|
||||
.removeEventListener("load", this.onContentElementLoad, true);
|
||||
}
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
|
Загрузка…
Ссылка в новой задаче