Set exit when replicator run exits (#5016)

This commit is contained in:
Sagar Dhawan
2019-07-10 16:27:18 -07:00
committed by GitHub
parent b50a3bae72
commit e4926e4110

View File

@ -367,6 +367,7 @@ impl Replicator {
meta.blockhash = storage_blockhash; meta.blockhash = storage_blockhash;
Self::redeem_rewards(&cluster_info, replicator_keypair, storage_keypair); Self::redeem_rewards(&cluster_info, replicator_keypair, storage_keypair);
} }
exit.store(true, Ordering::Relaxed);
} }
fn redeem_rewards( fn redeem_rewards(