mirror of https://github.com/m-labs/artiq.git
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:
|
||||
notify_cb(mod)
|
||||
except ConnectionError:
|
||||
pass
|
||||
finally:
|
||||
if self.disconnect_cb is not None:
|
||||
self.disconnect_cb()
|
||||
|
|
Loading…
Reference in New Issue