mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
Do not override user settings on signals and stop handling (#375)
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user