diff options
Diffstat (limited to 'src/collection/retry.rs')
| -rw-r--r-- | src/collection/retry.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/collection/retry.rs b/src/collection/retry.rs index 70e5183..15f626d 100644 --- a/src/collection/retry.rs +++ b/src/collection/retry.rs @@ -244,7 +244,9 @@ unsafe impl<L: Lockable> Lockable for RetryingLockCollection<L> { Self: 'a; fn get_ptrs<'a>(&'a self, ptrs: &mut Vec<&'a dyn RawLock>) { - ptrs.push(self) + // this collection, just like the sorting collection, must return all of its + // locks in order to check for duplication + self.data.get_ptrs(ptrs) } unsafe fn guard(&self) -> Self::Guard<'_> { |
