Catch exception when closing window

Fixes #8761
This commit is contained in:
Philipp Hörist 2017-10-14 09:43:44 +02:00
parent fcf15fcaf2
commit c6fc9081c5
1 changed files with 1 additions and 1 deletions

View File

@ -2381,7 +2381,7 @@ class RosterWindow:
else: else:
try: try:
w.window.destroy() w.window.destroy()
except AttributeError: except AttributeError, RuntimeError:
w.destroy() w.destroy()
def close_all(self, account, force=False): def close_all(self, account, force=False):