diff options
| author | Mica White <botahamec@gmail.com> | 2024-12-23 12:59:39 -0500 |
|---|---|---|
| committer | Mica White <botahamec@gmail.com> | 2024-12-23 13:43:10 -0500 |
| commit | 2819f647e893662310867e74dc6d7520628d5250 (patch) | |
| tree | 18e6bdc45e7a9919b11e6f685c90a100a9d900e2 /src/collection/retry.rs | |
| parent | fac92d4663813b1ea759282cccec4e82043fd118 (diff) | |
Fix inifinite loop
Diffstat (limited to 'src/collection/retry.rs')
| -rw-r--r-- | src/collection/retry.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/collection/retry.rs b/src/collection/retry.rs index e5246cd..fb2401e 100644 --- a/src/collection/retry.rs +++ b/src/collection/retry.rs @@ -171,6 +171,9 @@ unsafe impl<L: Lockable> RawLock for RetryingLockCollection<L> { continue 'outer; } } + + // safety: we locked all the data + break; } } |
