Do not override user settings on signals and stop handling

Closes #374
This commit is contained in:
Douman 2018-07-08 08:38:19 +03:00
parent 110605f50b
commit 9db6e36701
1 changed files with 0 additions and 3 deletions

View File

@ -478,9 +478,6 @@ impl<H: IntoHttpHandler> HttpServer<H> {
/// } /// }
/// ``` /// ```
pub fn run(mut self) { pub fn run(mut self) {
self.exit = true;
self.no_signals = false;
let sys = System::new("http-server"); let sys = System::new("http-server");
self.start(); self.start();
sys.run(); sys.run();