Don't fail on the Pushbullet close handler

This commit is contained in:
Fabio Manganiello 2021-07-25 01:17:25 +02:00
parent 2fc7327788
commit 550fd3abe9

View file

@ -30,7 +30,11 @@ class Listener(_Listener):
def callback(*_): def callback(*_):
self.connected = False self.connected = False
if self._on_close_hndl: if self._on_close_hndl:
# noinspection PyBroadException
try:
self._on_close_hndl() self._on_close_hndl()
except:
pass
return callback return callback