Proofline

Two backoffs sharing an event wrap the same caller-owned waiter's `set_result`.

thekarannagpal/sdk-python#1Reviewed commit 2efa007

Warning · Resource lifecycle

When they time out in start order, the second restores the first backoff's obsolete wrapper.

Impact

Repeated overlaps can make `event.set()` raise `RecursionError` instead of waking waiters.

Recommended action

Share one wrapper per future and restore its original setter only after the last observer leaves.

Cited code

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