{"action":"opened","issue":{"url":"https://api.github.com/repos/krakjoe/pthreads/issues/883","repository_url":"https://api.github.com/repos/krakjoe/pthreads","labels_url":"https://api.github.com/repos/krakjoe/pthreads/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/krakjoe/pthreads/issues/883/comments","events_url":"https://api.github.com/repos/krakjoe/pthreads/issues/883/events","html_url":"https://github.com/krakjoe/pthreads/issues/883","id":341568568,"node_id":"MDU6SXNzdWUzNDE1Njg1Njg=","number":883,"title":"Fatal error handling","user":{"login":"mvnaz","id":15434002,"node_id":"MDQ6VXNlcjE1NDM0MDAy","avatar_url":"https://avatars0.githubusercontent.com/u/15434002?v=4","gravatar_id":"","url":"https://api.github.com/users/mvnaz","html_url":"https://github.com/mvnaz","followers_url":"https://api.github.com/users/mvnaz/followers","following_url":"https://api.github.com/users/mvnaz/following{/other_user}","gists_url":"https://api.github.com/users/mvnaz/gists{/gist_id}","starred_url":"https://api.github.com/users/mvnaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvnaz/subscriptions","organizations_url":"https://api.github.com/users/mvnaz/orgs","repos_url":"https://api.github.com/users/mvnaz/repos","events_url":"https://api.github.com/users/mvnaz/events{/privacy}","received_events_url":"https://api.github.com/users/mvnaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-16T15:31:47Z","updated_at":"2018-07-16T15:31:47Z","closed_at":null,"author_association":"NONE","body":"The problem is easy. I have CLI infinity running script with several threads. If the fatal error occurs in some threads the script stop working but CMD script window still opened. I can't use register_shutdown_function because script doesn't get stoped in this case. I have googled everything. It's very important for my big project and I can't find the solution. "}}
{"actor":{"display_login":"mvnaz"}}