{"comment":{"url":"https://api.github.com/repos/group6tech/NAppUpdate2/comments/13271925","html_url":"https://github.com/group6tech/NAppUpdate2/commit/cac211a09bffcebc57caa671f7ac046e3d22d5f0#commitcomment-13271925","id":13271925,"user":{"login":"mattdwen","id":452295,"avatar_url":"https://avatars.githubusercontent.com/u/452295?v=3","gravatar_id":"","url":"https://api.github.com/users/mattdwen","html_url":"https://github.com/mattdwen","followers_url":"https://api.github.com/users/mattdwen/followers","following_url":"https://api.github.com/users/mattdwen/following{/other_user}","gists_url":"https://api.github.com/users/mattdwen/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdwen/subscriptions","organizations_url":"https://api.github.com/users/mattdwen/orgs","repos_url":"https://api.github.com/users/mattdwen/repos","events_url":"https://api.github.com/users/mattdwen/events{/privacy}","received_events_url":"https://api.github.com/users/mattdwen/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"cac211a09bffcebc57caa671f7ac046e3d22d5f0","created_at":"2015-09-16T20:12:42Z","updated_at":"2015-09-16T20:12:42Z","body":"@robinwassen I've got an issue where the `Environment.Exit(0)` call after creating the mutex in `ApplyUpdates` takes a couple of seconds to terminate the application. `foo.exe` then fails when applying the updates, as some of the files are still in use.\r\n\r\nThis is my dirty hack to get around that.\r\n\r\nIt could be related the finalzier, as mentioned in the question at http://stackoverflow.com/questions/18036863/why-does-environment-exit-not-terminate-the-program-anymore, but I'm still looking into it."}}