Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 2e49e48

Browse files
rphmeiergavofyork
authored andcommitted
don't wait for all futures to resolve before shutdown (#536)
1 parent 740902b commit 2e49e48

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

polkadot/cli/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ pub fn run<I, T, W>(args: I, worker: W, version: cli::VersionInfo) -> error::Res
9595
true => run_until_exit(&mut runtime, service::new_light(config, executor)?, worker)?,
9696
false => run_until_exit(&mut runtime, service::new_full(config, executor)?, worker)?,
9797
}
98-
// TODO: hard exit if this stalls?
99-
runtime.shutdown_on_idle().wait().expect("failed to shut down event loop");
10098
}
10199
}
102100
Ok(())

0 commit comments

Comments
 (0)