Proofline

In `proofline/client.py`, only the first waiter owns the temporary loop binding.

thekarannagpal/sdk-python#1Reviewed commit 6d77f3f

Serious · Resource lifecycle

If it exits while another waiter remains, the last waiter removes itself without clearing the binding.

Impact

Reusing the event in `AsyncProoflineClient.wait_for_review` on another loop raises `RuntimeError` even though no waiters remain.

Recommended action

Track SDK ownership per event and release the binding when the waiter deque empties, preserving pre-existing bindings.

Cited code

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