Basic networking service with channel

This commit is contained in:
Age Manning
2019-03-12 17:28:11 +11:00
parent 21032334ac
commit ae983a9347
13 changed files with 224 additions and 29 deletions

View File

@@ -40,6 +40,8 @@ pub fn run_beacon_node(config: ClientConfig, log: slog::Logger) -> error::Result
// perform global shutdown operations.
info!(log, "Shutting down..");
exit_signal.fire();
// shutdown the client
// client.exit_signal.fire();
drop(client);
runtime.shutdown_on_idle().wait().unwrap();
Ok(())