Proofline

`_async_wait_for_event` in `proofline/client.py` cancels an overridden `wait()` without ensuring it exits.

thekarannagpal/sdk-python#1Reviewed commit 9388498

Warning · Resource lifecycle

If the override catches `CancelledError` and waits again, the next backoff starts another task.

Impact

Pending tasks and their event registrations can remain after polling ends.

Recommended action

Reject `wait()` overrides that cannot be safely managed, or use a notification path that does not spawn subclass waiter tasks.

Cited code

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