std::process::exit to kill all threads
This commit is contained in:
committed by
Michael Vines
parent
895d7d6a65
commit
1d267eae6b
@ -2917,7 +2917,9 @@ impl ClusterInfo {
|
||||
self.id()
|
||||
);
|
||||
exit.store(true, Ordering::Relaxed);
|
||||
return;
|
||||
// TODO: Pass through ValidatorExit here so
|
||||
// that this will exit cleanly.
|
||||
std::process::exit(1);
|
||||
}
|
||||
_ => error!("gossip run_listen failed: {}", err),
|
||||
}
|
||||
|
Reference in New Issue
Block a user