Clean up comments in subprocess_cli.py

This commit is contained in:
vanducng 2025-06-14 23:53:56 +07:00
parent af7dfd0501
commit 2a6a4f494c

View file

@ -199,11 +199,9 @@ class SubprocessCLITransport(Transport):
except (anyio.ClosedResourceError, GeneratorExit):
pass
finally:
# Cancel the task group gracefully
try:
tg.cancel_scope.cancel()
except RuntimeError:
# Ignore errors if cancel scope is already exited
pass
await self._process.wait()