{"action":"opened","issue":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/366","repository_url":"https://api.github.com/repos/nickel-org/nickel.rs","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/366/comments","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/366/events","html_url":"https://github.com/nickel-org/nickel.rs/issues/366","id":168364104,"number":366,"title":"Shutting down nickel server","user":{"login":"ruabmbua","id":2522373,"avatar_url":"https://avatars.githubusercontent.com/u/2522373?v=3","gravatar_id":"","url":"https://api.github.com/users/ruabmbua","html_url":"https://github.com/ruabmbua","followers_url":"https://api.github.com/users/ruabmbua/followers","following_url":"https://api.github.com/users/ruabmbua/following{/other_user}","gists_url":"https://api.github.com/users/ruabmbua/gists{/gist_id}","starred_url":"https://api.github.com/users/ruabmbua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruabmbua/subscriptions","organizations_url":"https://api.github.com/users/ruabmbua/orgs","repos_url":"https://api.github.com/users/ruabmbua/repos","events_url":"https://api.github.com/users/ruabmbua/events{/privacy}","received_events_url":"https://api.github.com/users/ruabmbua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-29T16:32:13Z","updated_at":"2016-07-29T16:32:13Z","closed_at":null,"body":"I hope this question is not silly.\r\n\r\nHow can I actually stop my nickel.rs web application. I mean how is it possible to make the\r\n`Nickel::listen` method exit from a middleware.\r\nCleaning up resources and running drop on things is very important in my application.\r\n\r\nI already tried to just use `std::process::exit(0);`, but of cource that does not clean up anything at all."}}
{"actor":{"display_login":"ruabmbua"}}