forked from M-Labs/artiq
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()
|
await writer.drain()
|
||||||
finally:
|
finally:
|
||||||
self._recipients[notifier_name].remove(queue)
|
self._recipients[notifier_name].remove(queue)
|
||||||
except (ConnectionResetError, BrokenPipeError):
|
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError):
|
||||||
# subscribers disconnecting are a normal occurence
|
# subscribers disconnecting are a normal occurence
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue