Clean up Rpc exit signal

This commit is contained in:
Michael Vines
2019-03-04 16:21:33 -08:00
committed by Grimes
parent 6a8a97f644
commit eb90d8d463
3 changed files with 15 additions and 32 deletions

View File

@@ -168,7 +168,7 @@ impl Fullnode {
drone_addr,
storage_state.clone(),
config.rpc_config.clone(),
exit.clone(),
&exit,
);
let subscriptions = Arc::new(RpcSubscriptions::default());
@@ -293,9 +293,6 @@ impl Fullnode {
// which is the sole initiator of rotations.
self.poh_recorder.lock().unwrap().clear_bank();
self.poh_service.exit();
if let Some(ref rpc_service) = self.rpc_service {
rpc_service.exit();
}
self.node_services.exit();
}