Warning · Resource lifecycle
Impact
If `is_set()` raises, the poll fails immediately, but the loop retains the timer and its future until the backoff expires.
Recommended action
Move the `is_set()` check inside the `try` that cancels the timer.
thekarannagpal/sdk-python#1Reviewed commit 8fc5117
Warning · Resource lifecycle
If `is_set()` raises, the poll fails immediately, but the loop retains the timer and its future until the backoff expires.
Move the `is_set()` check inside the `try` that cancels the timer.