mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 21:07:39 +03:00
added new cancel_future_on_stop
This commit is contained in:
parent
e3c058c96e
commit
58de9dcf56
4 changed files with 11 additions and 6 deletions
|
@ -110,7 +110,6 @@ fn main() {
|
|||
.route_handler("/", StaticFiles::new("examples/static/", true)))
|
||||
.serve::<_, ()>("127.0.0.1:8080").unwrap();
|
||||
|
||||
println!("Started http server: 127.0.0.1:8080");
|
||||
Arbiter::system().send(msgs::SystemExit(0));
|
||||
let _ = sys.run();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue