Philipp Hörist pushed to branch master at gajim / gajim
Commits: b42a3ed4 by lovetox at 2021-01-20T21:14:13+01:00 RemoveAccounts: Fix race condition when removing an account disable_account() closes all account related dialogs. RemoveAccount is such a dialog but should not be closed mid processing the account removal. Fixes #10401 - - - - - 1 changed file: - gajim/gui_interface.py Changes: ===================================== gajim/gui_interface.py ===================================== @@ -1722,7 +1722,10 @@ def disable_account(self, account): ctrl.shutdown() for win in get_app_windows(account): - # Close all account specific windows + # Close all account specific windows, except the RemoveAccount + # dialog. It shows if the removal was successful. + if type(win).__name__ == 'RemoveAccount': + continue win.destroy() if account == app.ZEROCONF_ACC_NAME: View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b42a3ed43c555f8487380a5ebeee161f31687b6b -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b42a3ed43c555f8487380a5ebeee161f31687b6b You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits