Clean up exit signal handling

This commit is contained in:
Michael Vines
2019-03-05 19:00:26 -08:00
committed by Grimes
parent 1c0cfb17a3
commit bd39ab9365
3 changed files with 6 additions and 17 deletions

View File

@ -34,7 +34,7 @@ impl LocalVoteSignerService {
let thread = Builder::new()
.name("solana-vote-signer".to_string())
.spawn(move || {
let service = VoteSignerRpcService::new(addr, thread_exit);
let service = VoteSignerRpcService::new(addr, &thread_exit);
service.join().unwrap();
})
.unwrap();