Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shutting down nickel server #366

Open
ruabmbua opened this issue Jul 29, 2016 · 0 comments
Open

Shutting down nickel server #366

ruabmbua opened this issue Jul 29, 2016 · 0 comments

Comments

@ruabmbua
Copy link

ruabmbua commented Jul 29, 2016

I hope this question is not silly.

How can I actually stop my nickel.rs web application. I mean how is it possible to make the
Nickel::listen method exit.
Cleaning up resources and running drop on things is very important in my application.

I already tried to just use std::process::exit(0); in my middleware, but of cource that does not clean up anything at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant