runtime: fix possible deadlock in in_mem_accounts_index (#26046)
This commit is contained in:
parent
102fb98070
commit
355e09e1fb
|
@ -147,6 +147,7 @@ impl<T: IndexValue> InMemAccountsIndex<T> {
|
|||
result.push((*k, Arc::clone(v)));
|
||||
}
|
||||
});
|
||||
drop(map);
|
||||
self.hold_range_in_memory(range, false);
|
||||
Self::update_stat(&self.stats().items, 1);
|
||||
Self::update_time_stat(&self.stats().items_us, m);
|
||||
|
|
Loading…
Reference in New Issue