{"action":"created","issue":{"url":"https://api.github.com/repos/fluent/fluentd/issues/965","repository_url":"https://api.github.com/repos/fluent/fluentd","labels_url":"https://api.github.com/repos/fluent/fluentd/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/fluent/fluentd/issues/965/comments","events_url":"https://api.github.com/repos/fluent/fluentd/issues/965/events","html_url":"https://github.com/fluent/fluentd/pull/965","id":155458858,"number":965,"title":"Fix lifecycle control","user":{"login":"tagomoris","id":230654,"avatar_url":"https://avatars.githubusercontent.com/u/230654?v=3","gravatar_id":"","url":"https://api.github.com/users/tagomoris","html_url":"https://github.com/tagomoris","followers_url":"https://api.github.com/users/tagomoris/followers","following_url":"https://api.github.com/users/tagomoris/following{/other_user}","gists_url":"https://api.github.com/users/tagomoris/gists{/gist_id}","starred_url":"https://api.github.com/users/tagomoris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagomoris/subscriptions","organizations_url":"https://api.github.com/users/tagomoris/orgs","repos_url":"https://api.github.com/users/tagomoris/repos","events_url":"https://api.github.com/users/tagomoris/events{/privacy}","received_events_url":"https://api.github.com/users/tagomoris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fluent/fluentd/labels/v0.14","name":"v0.14","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-05-18T09:44:54Z","updated_at":"2016-05-19T01:59:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fluent/fluentd/pulls/965","html_url":"https://github.com/fluent/fluentd/pull/965","diff_url":"https://github.com/fluent/fluentd/pull/965.diff","patch_url":"https://github.com/fluent/fluentd/pull/965.patch"},"body":"This change includes some changes and bug fixes about lifecycle of process and plugins.\r\n* plugins should call `super` in `start` and `shutdown`\r\n* plugins sometimes raise non-standard errors: these should be rescued and logged\r\n* ServerEngine sends SIGTERM to stop worker process, but it wasn't rescued\r\n  * `shutdown` was called in `ensure` clause, and it invokes shutdown sequence *unexpectedly*\r\n\r\nThis change also includes removing `default_loop` from Engine. It wasn't used in anywhere, so I simplified main loop by removing it."},"comment":{"url":"https://api.github.com/repos/fluent/fluentd/issues/comments/220208541","html_url":"https://github.com/fluent/fluentd/pull/965#issuecomment-220208541","issue_url":"https://api.github.com/repos/fluent/fluentd/issues/965","id":220208541,"user":{"login":"tagomoris","id":230654,"avatar_url":"https://avatars.githubusercontent.com/u/230654?v=3","gravatar_id":"","url":"https://api.github.com/users/tagomoris","html_url":"https://github.com/tagomoris","followers_url":"https://api.github.com/users/tagomoris/followers","following_url":"https://api.github.com/users/tagomoris/following{/other_user}","gists_url":"https://api.github.com/users/tagomoris/gists{/gist_id}","starred_url":"https://api.github.com/users/tagomoris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagomoris/subscriptions","organizations_url":"https://api.github.com/users/tagomoris/orgs","repos_url":"https://api.github.com/users/tagomoris/repos","events_url":"https://api.github.com/users/tagomoris/events{/privacy}","received_events_url":"https://api.github.com/users/tagomoris/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T01:59:37Z","updated_at":"2016-05-19T01:59:37Z","body":"@repeatedly okay, will do."}}