{"action":"closed","issue":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/134","repository_url":"https://api.github.com/repos/alexhultman/uWebSockets","labels_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/134/comments","events_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/134/events","html_url":"https://github.com/alexhultman/uWebSockets/issues/134","id":157986935,"number":134,"title":"cannot release server after close","user":{"login":"joyousrabbit","id":17914784,"avatar_url":"https://avatars.githubusercontent.com/u/17914784?v=3","gravatar_id":"","url":"https://api.github.com/users/joyousrabbit","html_url":"https://github.com/joyousrabbit","followers_url":"https://api.github.com/users/joyousrabbit/followers","following_url":"https://api.github.com/users/joyousrabbit/following{/other_user}","gists_url":"https://api.github.com/users/joyousrabbit/gists{/gist_id}","starred_url":"https://api.github.com/users/joyousrabbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joyousrabbit/subscriptions","organizations_url":"https://api.github.com/users/joyousrabbit/orgs","repos_url":"https://api.github.com/users/joyousrabbit/repos","events_url":"https://api.github.com/users/joyousrabbit/events{/privacy}","received_events_url":"https://api.github.com/users/joyousrabbit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-01T19:24:48Z","updated_at":"2016-06-01T19:38:36Z","closed_at":"2016-06-01T19:38:36Z","body":"Hello alex,\r\n\r\nThis is very great work and your code is perfect. Only one issue, \r\n\r\nI took server.run() in a detached thread, then I server.close() from another thread (the main thread). \r\nThe server is correctly closed because the following connections are lost. \r\n\r\nBut, the detached thread is still always blocked by server.run() and keep the thread alive, even after it is closed.\r\n\r\nHow can we pass from server.run() after calling server.close() to finish the detached thread?\r\n\r\nHope your reply and many thanks."}}
{"actor":{"display_login":"joyousrabbit"}}