fix read releases

This commit is contained in:
Aiden McClelland
2021-10-13 12:41:52 -06:00
parent 96fb7d33e0
commit b925092060

View File

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