mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-07-07 14:45:00 +00:00
Clean up comments in subprocess_cli.py
This commit is contained in:
parent
af7dfd0501
commit
2a6a4f494c
1 changed files with 0 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue