diff --git a/substrate/polkadot/cli/src/lib.rs b/substrate/polkadot/cli/src/lib.rs index b2da24ee10394ae28a3d700dae70e430cbbd13b9..1a2e2f4850bab17600f98cae022ef950d00bf6f9 100644 --- a/substrate/polkadot/cli/src/lib.rs +++ b/substrate/polkadot/cli/src/lib.rs @@ -95,8 +95,6 @@ pub fn run<I, T, W>(args: I, worker: W, version: cli::VersionInfo) -> error::Res true => run_until_exit(&mut runtime, service::new_light(config, executor)?, worker)?, false => run_until_exit(&mut runtime, service::new_full(config, executor)?, worker)?, } - // TODO: hard exit if this stalls? - runtime.shutdown_on_idle().wait().expect("failed to shut down event loop"); } } Ok(())