mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-18 19:58:37 -05:00
Merge remote-tracking branch 'github/master'
This commit is contained in:
@@ -1129,8 +1129,11 @@ def create_and_run_plugin(plugin_class, argv):
|
||||
async with plugin_class(reader, writer, token) as plugin:
|
||||
await plugin.run()
|
||||
finally:
|
||||
writer.close()
|
||||
await writer.wait_closed()
|
||||
try:
|
||||
writer.close()
|
||||
await writer.wait_closed()
|
||||
except (ConnectionAbortedError, ConnectionResetError):
|
||||
pass
|
||||
|
||||
try:
|
||||
if sys.platform == "win32":
|
||||
|
||||
Reference in New Issue
Block a user