mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
cli: fix node shutdown (#568)
This commit is contained in:
committed by
Bastian Köcher
parent
663ff3db91
commit
40f1d22cd8
@@ -158,5 +158,8 @@ fn run_until_exit<T, SC, B, CE, W>(
|
||||
let _ = runtime.block_on(service.select(work));
|
||||
exit_send.fire();
|
||||
|
||||
// TODO [andre]: timeout this future substrate/#1318
|
||||
let _ = runtime.shutdown_on_idle().wait();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user