Proofline

The async example registers `cancel.set` for `SIGINT` but never removes it when the wait exits.

thekarannagpal/sdk-python#1Reviewed commit cccaa6a

Warning · Resource lifecycle

Impact

If the loop keeps running, Ctrl-C sets the old event instead of interrupting subsequent work.

Recommended action

Remove the signal-handler setup from the example, or scope it to the wait with cleanup in a `finally` block.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed