{"action":"closed","issue":{"url":"https://api.github.com/repos/yegor256/netbout/issues/950","labels_url":"https://api.github.com/repos/yegor256/netbout/issues/950/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/netbout/issues/950/comments","events_url":"https://api.github.com/repos/yegor256/netbout/issues/950/events","html_url":"https://github.com/yegor256/netbout/issues/950","id":127434960,"number":950,"title":"Temporary files file are not removed in case of attachment failure","user":{"login":"exper0","id":7703204,"avatar_url":"https://avatars.githubusercontent.com/u/7703204?v=3","gravatar_id":"","url":"https://api.github.com/users/exper0","html_url":"https://github.com/exper0","followers_url":"https://api.github.com/users/exper0/followers","following_url":"https://api.github.com/users/exper0/following{/other_user}","gists_url":"https://api.github.com/users/exper0/gists{/gist_id}","starred_url":"https://api.github.com/users/exper0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exper0/subscriptions","organizations_url":"https://api.github.com/users/exper0/orgs","repos_url":"https://api.github.com/users/exper0/repos","events_url":"https://api.github.com/users/exper0/events{/privacy}","received_events_url":"https://api.github.com/users/exper0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T12:28:40Z","updated_at":"2016-01-20T10:37:00Z","closed_at":"2016-01-20T10:37:00Z","body":"During attaching file to a bout Netbout creates temporary files. However, in some cases files are not removed and polute file system.\r\nThis happens if something goes wrong during file upload: if file that violates some limitations, e.g. has 0 size or greater than 10mb. In this case temp file remains forever in file system.\r\nWe need to refactor TkAttach in such a way that it removes temp file in all cases. "}}