{"action":"created","issue":{"url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/123","repository_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser","labels_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/123/comments","events_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/123/events","html_url":"https://github.com/php-mime-mail-parser/php-mime-mail-parser/issues/123","id":184174160,"number":123,"title":"method to free resources","user":{"login":"MonkeyMaster","id":1491688,"avatar_url":"https://avatars.githubusercontent.com/u/1491688?v=3","gravatar_id":"","url":"https://api.github.com/users/MonkeyMaster","html_url":"https://github.com/MonkeyMaster","followers_url":"https://api.github.com/users/MonkeyMaster/followers","following_url":"https://api.github.com/users/MonkeyMaster/following{/other_user}","gists_url":"https://api.github.com/users/MonkeyMaster/gists{/gist_id}","starred_url":"https://api.github.com/users/MonkeyMaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonkeyMaster/subscriptions","organizations_url":"https://api.github.com/users/MonkeyMaster/orgs","repos_url":"https://api.github.com/users/MonkeyMaster/repos","events_url":"https://api.github.com/users/MonkeyMaster/events{/privacy}","received_events_url":"https://api.github.com/users/MonkeyMaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T09:09:02Z","updated_at":"2016-10-21T07:31:05Z","closed_at":null,"body":"After setPath() file becomes locked and it's not possible to rename or unlink it before Parser destructor is called. However in php it's not possible to destroy any object immediately, even with unset(). So now the only way to unlock the file is to call destructor explicitly, it's not recommended though.\r\nIt would be good to have a method similar to destructor to manually free resources when needed."},"comment":{"url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/comments/255313672","html_url":"https://github.com/php-mime-mail-parser/php-mime-mail-parser/issues/123#issuecomment-255313672","issue_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/123","id":255313672,"user":{"login":"eXorus","id":1255561,"avatar_url":"https://avatars.githubusercontent.com/u/1255561?v=3","gravatar_id":"","url":"https://api.github.com/users/eXorus","html_url":"https://github.com/eXorus","followers_url":"https://api.github.com/users/eXorus/followers","following_url":"https://api.github.com/users/eXorus/following{/other_user}","gists_url":"https://api.github.com/users/eXorus/gists{/gist_id}","starred_url":"https://api.github.com/users/eXorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXorus/subscriptions","organizations_url":"https://api.github.com/users/eXorus/orgs","repos_url":"https://api.github.com/users/eXorus/repos","events_url":"https://api.github.com/users/eXorus/events{/privacy}","received_events_url":"https://api.github.com/users/eXorus/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T07:31:05Z","updated_at":"2016-10-21T07:31:05Z","body":"I understand something like $Parser->destruct() ? destruct() will call __destrut() I'm not sure it a good design.\r\n\r\nWhy do you want to call destruct method, PHP did it at the end of the script."}}
{"actor":{"display_login":"eXorus"}}