Proofline

Cancelling a pre-existing waiter during subclass backoff removes its future only from the temporary collection.

thekarannagpal/sdk-python#1Reviewed commit 63c2476

Warning · Resource lifecycle

Restoration brings it back from the saved collection.

Impact

A long-lived event retains the cancelled future and scans it on subsequent `set()` calls.

Recommended action

Synchronize the original collection with the temporary one before restoring it, preserving pending waiters and dropping removed entries.

Cited code

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