fix read releases

This commit is contained in:
Aiden McClelland
2021-10-13 12:41:52 -06:00
committed by Aiden McClelland
parent 295e4ba4ad
commit 0c797ef09f

View File

@@ -231,7 +231,7 @@ impl Node {
}
(LockType::DeepRead, true) => {
if let Some(idx) = self
.writers
.readers
.iter()
.enumerate()
.find(|(_, id)| id == &&lock_info.handle_id)