Clean up fullnode/tpu/tvu/fetch_stage exit signal

This commit is contained in:
Michael Vines
2019-03-04 19:02:03 -08:00
committed by Grimes
parent e7cde846cb
commit 96bfe92334
5 changed files with 19 additions and 83 deletions

View File

@@ -184,9 +184,9 @@ fn test_replay() {
let bob_balance = bank.get_balance(&bob_keypair.pubkey());
assert_eq!(bob_balance, starting_balance - alice_ref_balance);
poh_service.close().expect("close");
tvu.close().expect("close");
exit.store(true, Ordering::Relaxed);
poh_service.close().expect("close");
tvu.join().expect("join");
dr_l.join().expect("join");
dr_2.join().expect("join");
dr_1.join().expect("join");