Philipp Hörist pushed to branch master at gajim / gajim


Commits:
542b70aa by Philipp Hörist at 2019-06-21T21:29:23Z
Accounts: Destroy all GroupchatControl on disable

- - - - -


1 changed file:

- gajim/gui_interface.py


Changes:

=====================================
gajim/gui_interface.py
=====================================
@@ -1937,7 +1937,10 @@ class Interface:
         self.roster.send_status(account, 'online', '')
 
     def disable_account(self, account):
-        self.roster.close_all(account)
+        self.roster.close_all(account, force=True)
+        for jid in self.minimized_controls[account]:
+            ctrl = self.minimized_controls[account][jid]
+            ctrl.shutdown()
         if account == app.ZEROCONF_ACC_NAME:
             app.connections[account].disable_account()
         app.connections[account].cleanup()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/542b70aa0c91a0c0dc11088b3a0081d2251b180a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/542b70aa0c91a0c0dc11088b3a0081d2251b180a
You're receiving this email because of your account on dev.gajim.org.

_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to