1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-21 07:36:43 +00:00

Do not override user settings on signals and stop handling (#375)

This commit is contained in:
Douman 2018-07-08 09:01:44 +03:00 committed by GitHub
parent 110605f50b
commit 82920e1ac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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