From c2b4f0cfe3d25e5455660f926bfa1a65f7097535 Mon Sep 17 00:00:00 2001 From: hartytp Date: Fri, 10 May 2019 12:53:51 +0100 Subject: [PATCH] sync_struct: catch ConnectionErrors in _receive_cr (#1319) --- artiq/protocols/sync_struct.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/protocols/sync_struct.py b/artiq/protocols/sync_struct.py index 35e75195a..02db70ffc 100644 --- a/artiq/protocols/sync_struct.py +++ b/artiq/protocols/sync_struct.py @@ -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()