forked from M-Labs/artiq
sync_struct: catch ConnectionErrors in _receive_cr (#1319)
This commit is contained in:
parent
bbcd1db025
commit
c2b4f0cfe3
@ -155,6 +155,8 @@ class Subscriber:
|
|||||||
|
|
||||||
for notify_cb in self.notify_cbs:
|
for notify_cb in self.notify_cbs:
|
||||||
notify_cb(mod)
|
notify_cb(mod)
|
||||||
|
except ConnectionError:
|
||||||
|
pass
|
||||||
finally:
|
finally:
|
||||||
if self.disconnect_cb is not None:
|
if self.disconnect_cb is not None:
|
||||||
self.disconnect_cb()
|
self.disconnect_cb()
|
||||||
|
Loading…
Reference in New Issue
Block a user