correctly shutdown privateChat controls. Fixes #6039

This commit is contained in:
Yann Leboulanger 2010-11-22 08:52:58 +01:00
parent b8c96bcc17
commit 139a4b9d87
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ class PrivateChatControl(ChatControl):
self.TYPE_ID = 'pm'
def shutdown(self):
super(PrivateChatControl, self).shutdown()
gajim.ged.remove_event_handler('caps-received', ged.GUI1,
self._nec_caps_received)