{"action":"closed","issue":{"url":"https://api.github.com/repos/pocoproject/poco/issues/746","labels_url":"https://api.github.com/repos/pocoproject/poco/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/pocoproject/poco/issues/746/comments","events_url":"https://api.github.com/repos/pocoproject/poco/issues/746/events","html_url":"https://github.com/pocoproject/poco/issues/746","id":61778822,"number":746,"title":"ServerApplication close console","user":{"login":"jano42","id":3135683,"avatar_url":"https://avatars.githubusercontent.com/u/3135683?v=3","gravatar_id":"","url":"https://api.github.com/users/jano42","html_url":"https://github.com/jano42","followers_url":"https://api.github.com/users/jano42/followers","following_url":"https://api.github.com/users/jano42/following{/other_user}","gists_url":"https://api.github.com/users/jano42/gists{/gist_id}","starred_url":"https://api.github.com/users/jano42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jano42/subscriptions","organizations_url":"https://api.github.com/users/jano42/orgs","repos_url":"https://api.github.com/users/jano42/repos","events_url":"https://api.github.com/users/jano42/events{/privacy}","received_events_url":"https://api.github.com/users/jano42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pocoproject/poco/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-15T08:50:25Z","updated_at":"2015-03-25T07:30:20Z","closed_at":"2015-03-25T07:30:20Z","body":"The issue is reproduced in Windows environnement\r\n\r\nI've cerated a ServerApplication. \r\nThe aim is to run either as a service or directly from a console.\r\n\r\n![2015-03-15 09_44_54-yadoms - microsoft visual studio](https://cloud.githubusercontent.com/assets/3135683/6655272/2d4d2a8e-caf8-11e4-9090-45d383ee9c60.jpg)\r\n\r\nIf I run the application in a console, then terminate it with \"Ctrl+C\" all is OK.\r\nIf I run the application in a console, then terminate it by **closing the window then  neither my last lines are not called, nor uninitialize overidden uninitialize method**.\r\n\r\nI've reproduced the same behavior with the Sample/ServerApplication\r\n\r\n\r\n"}}