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

protocol/sync_struct: Windows also raises ConnectionAbortedError on disconnection

This commit is contained in:
Sebastien Bourdeauducq 2016-01-27 21:12:22 +01:00
parent cfa4f791e8
commit a4fb8f3e53

View File

@ -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: