mirror of https://github.com/m-labs/artiq.git
protocol/sync_struct: Windows also raises ConnectionAbortedError on disconnection
This commit is contained in:
parent
cfa4f791e8
commit
a4fb8f3e53
|
@ -235,7 +235,7 @@ class Publisher(AsyncioServer):
|
|||
await writer.drain()
|
||||
finally:
|
||||
self._recipients[notifier_name].remove(queue)
|
||||
except (ConnectionResetError, BrokenPipeError):
|
||||
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError):
|
||||
# subscribers disconnecting are a normal occurence
|
||||
pass
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue