Remove event handler on ChatControl Shutdown
This commit is contained in:
parent
f29d57e50b
commit
8a4264c94e
|
@ -1161,6 +1161,9 @@ class ChatControl(ChatControlBase):
|
||||||
self._nec_caps_received)
|
self._nec_caps_received)
|
||||||
app.ged.remove_event_handler('message-sent', ged.OUT_POSTCORE,
|
app.ged.remove_event_handler('message-sent', ged.OUT_POSTCORE,
|
||||||
self._message_sent)
|
self._message_sent)
|
||||||
|
app.ged.remove_event_handler(
|
||||||
|
'mam-decrypted-message-received',
|
||||||
|
ged.GUI1, self._nec_mam_decrypted_message_received)
|
||||||
|
|
||||||
self.unsubscribe_events()
|
self.unsubscribe_events()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue