{"action":"created","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/321","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/321/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/321/events","html_url":"https://github.com/lightbody/browsermob-proxy/pull/321","id":105320571,"number":321,"title":"change deleteDirectoryTask to a List","user":{"login":"chemicwepn","id":2215603,"avatar_url":"https://avatars.githubusercontent.com/u/2215603?v=3","gravatar_id":"","url":"https://api.github.com/users/chemicwepn","html_url":"https://github.com/chemicwepn","followers_url":"https://api.github.com/users/chemicwepn/followers","following_url":"https://api.github.com/users/chemicwepn/following{/other_user}","gists_url":"https://api.github.com/users/chemicwepn/gists{/gist_id}","starred_url":"https://api.github.com/users/chemicwepn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemicwepn/subscriptions","organizations_url":"https://api.github.com/users/chemicwepn/orgs","repos_url":"https://api.github.com/users/chemicwepn/repos","events_url":"https://api.github.com/users/chemicwepn/events{/privacy}","received_events_url":"https://api.github.com/users/chemicwepn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-08T07:43:12Z","updated_at":"2015-09-09T02:54:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/pulls/321","html_url":"https://github.com/lightbody/browsermob-proxy/pull/321","diff_url":"https://github.com/lightbody/browsermob-proxy/pull/321.diff","patch_url":"https://github.com/lightbody/browsermob-proxy/pull/321.patch"},"body":"I am aware if the jvm exists, it will remove all created temp folders. However, I need to keep the jvm running as long as possible in production, which eventually cause the temp folder to fill up with tons of temp folders created by the proxy.\r\n\r\nFix: changed DeleteDirectoryTask deleteDirectoryTask to List deleteDirectoryTasks in SeleniumProxyHandler class, so that when user need to clean up the temp folders but keep the jvm running they can just call proxy.cleanSslCertificates() method."},"comment":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/comments/138761980","html_url":"https://github.com/lightbody/browsermob-proxy/pull/321#issuecomment-138761980","issue_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/321","id":138761980,"user":{"login":"chemicwepn","id":2215603,"avatar_url":"https://avatars.githubusercontent.com/u/2215603?v=3","gravatar_id":"","url":"https://api.github.com/users/chemicwepn","html_url":"https://github.com/chemicwepn","followers_url":"https://api.github.com/users/chemicwepn/followers","following_url":"https://api.github.com/users/chemicwepn/following{/other_user}","gists_url":"https://api.github.com/users/chemicwepn/gists{/gist_id}","starred_url":"https://api.github.com/users/chemicwepn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemicwepn/subscriptions","organizations_url":"https://api.github.com/users/chemicwepn/orgs","repos_url":"https://api.github.com/users/chemicwepn/repos","events_url":"https://api.github.com/users/chemicwepn/events{/privacy}","received_events_url":"https://api.github.com/users/chemicwepn/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T02:54:56Z","updated_at":"2015-09-09T02:54:56Z","body":"Thanks for the comment. I update the fix as your commented out. Let me know if I need to make more changes. "}}