mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
Do not override user settings on signals and stop handling (#375)
This commit is contained in:
parent
110605f50b
commit
82920e1ac1
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user