Bump crossbeam. (#10048)
This commit is contained in:
committed by
mattrutherford
parent
dbc5f55da9
commit
61e8baee0c
@@ -192,11 +192,11 @@ pub fn take_snapshot<W: SnapshotWriter + Send>(
|
||||
state_guards.push(state_guard);
|
||||
}
|
||||
|
||||
let block_hashes = block_guard.join()?;
|
||||
let block_hashes = block_guard.join().expect("Sub-thread never panics; qed")?;
|
||||
let mut state_hashes = Vec::new();
|
||||
|
||||
for guard in state_guards {
|
||||
let part_state_hashes = guard.join()?;
|
||||
let part_state_hashes = guard.join().expect("Sub-thread never panics; qed")?;
|
||||
state_hashes.extend(part_state_hashes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user