{"comment":{"url":"https://api.github.com/repos/musescore/MuseScore/comments/12918748","html_url":"https://github.com/musescore/MuseScore/commit/39b0d3dc2d79824d0152be83807388f8d76f3792#commitcomment-12918748","id":12918748,"user":{"login":"Jojo-Schmitz","id":1786669,"avatar_url":"https://avatars.githubusercontent.com/u/1786669?v=3","gravatar_id":"","url":"https://api.github.com/users/Jojo-Schmitz","html_url":"https://github.com/Jojo-Schmitz","followers_url":"https://api.github.com/users/Jojo-Schmitz/followers","following_url":"https://api.github.com/users/Jojo-Schmitz/following{/other_user}","gists_url":"https://api.github.com/users/Jojo-Schmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/Jojo-Schmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jojo-Schmitz/subscriptions","organizations_url":"https://api.github.com/users/Jojo-Schmitz/orgs","repos_url":"https://api.github.com/users/Jojo-Schmitz/repos","events_url":"https://api.github.com/users/Jojo-Schmitz/events{/privacy}","received_events_url":"https://api.github.com/users/Jojo-Schmitz/received_events","type":"User","site_admin":false},"position":34,"line":204,"path":"mscore/exportaudio.cpp","commit_id":"39b0d3dc2d79824d0152be83807388f8d76f3792","created_at":"2015-08-27T05:54:32Z","updated_at":"2015-08-27T05:54:32Z","body":"Seems you're right, it vanishes here too, Windows 7. The problem with moving those line to before the process.close() is that then the sf_close(sf) crashes in the 'cancel' case, at least that's what I remember from back then.\r\nHmm, trying now and it doesn't crash but doesn't remove the file either.\r\n \r\nI guess we'd need to obtain and store the process.wasCancelled() before the progress.close() and do the QFile::delete(name) after the sf_close(sf)"}}