We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 948bfcd commit ab44e13Copy full SHA for ab44e13
1 file changed
src/galaxy/api/plugin.py
@@ -1129,8 +1129,11 @@ async def coroutine():
1129
async with plugin_class(reader, writer, token) as plugin:
1130
await plugin.run()
1131
finally:
1132
- writer.close()
1133
- await writer.wait_closed()
+ try:
+ writer.close()
1134
+ await writer.wait_closed()
1135
+ except (ConnectionAbortedError, ConnectionResetError):
1136
+ pass
1137
1138
try:
1139
if sys.platform == "win32":
0 commit comments