forked from platypush/platypush
Don't fail on the Pushbullet close handler
This commit is contained in:
parent
2fc7327788
commit
550fd3abe9
1 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||||
self._on_close_hndl()
|
# noinspection PyBroadException
|
||||||
|
try:
|
||||||
|
self._on_close_hndl()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
return callback
|
return callback
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue