{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/508","repository_url":"https://api.github.com/repos/arvidn/libtorrent","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/508/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/508/events","html_url":"https://github.com/arvidn/libtorrent/pull/508","id":137096267,"number":508,"title":"attempt to fix issue where the partfile is not deleted","user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-02-28T21:06:37Z","updated_at":"2016-03-13T20:39:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arvidn/libtorrent/pulls/508","html_url":"https://github.com/arvidn/libtorrent/pull/508","diff_url":"https://github.com/arvidn/libtorrent/pull/508.diff","patch_url":"https://github.com/arvidn/libtorrent/pull/508.patch"},"body":" when asking to delete all files"},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/196048607","html_url":"https://github.com/arvidn/libtorrent/pull/508#issuecomment-196048607","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/508","id":196048607,"user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T20:39:38Z","updated_at":"2016-03-13T20:39:38Z","body":"@Isabelxxx just so you don't confuse @arvidn more: qBittorrent deletes the relevant *.torrent file itself. Libtorrent doesn't have any idea where that files is nor it should. Libtorrent manages(and deletes) the actual files pointed by the *.torrent file and the partfile. Up until now when we told libtorrent to remove the torrent from the session we had 2 options. a) Remove the torrent as an entry from the session and b) remove the torrent as an entry AND delete the actual files that were downloaded. From #537 we have c) Remove torrent as an entry AND the partfile but leave the completed files. And b) removes partfile now too.\r\n\r\n@arvidn I am trying to test your PR now."}}