diff options
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/future_retry.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/talpid-core/src/future_retry.rs b/talpid-core/src/future_retry.rs index 6e7c05fc35..0e494cc96c 100644 --- a/talpid-core/src/future_retry.rs +++ b/talpid-core/src/future_retry.rs @@ -22,6 +22,8 @@ pub async fn retry_future_with_backoff< if should_retry(¤t_result) { if let Some(delay) = delays.next() { sleep(delay).await; + } else { + return current_result; } } else { return current_result; |
