Fix channel panic in tests (#16503)
* Fix channel panic * Add exit signal to PohRecorder because Crossbeam doesnt drop objects inside dropped channel
This commit is contained in:
@@ -510,6 +510,7 @@ impl Validator {
|
||||
blockstore.new_shreds_signals.first().cloned(),
|
||||
&leader_schedule_cache,
|
||||
&poh_config,
|
||||
exit.clone(),
|
||||
);
|
||||
if config.snapshot_config.is_some() {
|
||||
poh_recorder.set_bank(&bank);
|
||||
|
Reference in New Issue
Block a user