Skip to content
Snippets Groups Projects
Commit f2c19dce authored by asynchronous rob's avatar asynchronous rob Committed by Gav Wood
Browse files

don't wait for all futures to resolve before shutdown (#536)

parent ea8caded
Branches
No related merge requests found
......@@ -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(())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment