2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

sync_struct: catch ConnectionErrors in _receive_cr (#1319)

This commit is contained in:
hartytp 2019-05-10 12:53:51 +01:00 committed by GitHub
parent bbcd1db025
commit c2b4f0cfe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()