{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/6456","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/6456/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/6456/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/6456/events","html_url":"https://github.com/nodejs/node/issues/6456","id":151760275,"number":6456,"title":"process: improve process.exit() unwind behavior","user":{"login":"eljefedelrodeodeljefe","id":3899684,"avatar_url":"https://avatars.githubusercontent.com/u/3899684?v=3","gravatar_id":"","url":"https://api.github.com/users/eljefedelrodeodeljefe","html_url":"https://github.com/eljefedelrodeodeljefe","followers_url":"https://api.github.com/users/eljefedelrodeodeljefe/followers","following_url":"https://api.github.com/users/eljefedelrodeodeljefe/following{/other_user}","gists_url":"https://api.github.com/users/eljefedelrodeodeljefe/gists{/gist_id}","starred_url":"https://api.github.com/users/eljefedelrodeodeljefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eljefedelrodeodeljefe/subscriptions","organizations_url":"https://api.github.com/users/eljefedelrodeodeljefe/orgs","repos_url":"https://api.github.com/users/eljefedelrodeodeljefe/repos","events_url":"https://api.github.com/users/eljefedelrodeodeljefe/events{/privacy}","received_events_url":"https://api.github.com/users/eljefedelrodeodeljefe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/process","name":"process","color":"00aaff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-28T22:47:27Z","updated_at":"2016-04-29T00:07:09Z","closed_at":null,"body":"<!--\r\nThanks for wanting to report an issue you've found in Node.js. Please fill in\r\nthe template below by replacing the html comments with an appropriate answer.\r\nIf unsure about something, just do as best as you're able.\r\n\r\nversion: usually output of `node -v`\r\nplatform:  either `uname -a` output, or if Windows, version and 32 or 64-bit.\r\nsubsystem:  optional -- if known please specify affected core module name.\r\n\r\nIt will be much easier for us to fix the issue if a test case that reproduces\r\nthe problem is provided. Ideally this test case should not have any external\r\ndependencies. We understand that it is not always possible to reduce your code\r\nto a small test case, but we would appreciate to have as\r\nmuch data as possible.\r\n\r\nThank you!\r\n-->\r\n\r\n* **Version**: v6, (likely all and backportable)\r\n* **Platform**: all\r\n* **Subsystem**: `process`\r\n\r\nAs noted in #6297 async stdio will not be flushed upon immediate `process.exit()`. This may lay open general deficiencies around C `exit()` from C++ functions not being properly unwound and is probably not just introduced by latest `libuv` updates. It should be considered to add flushing, providing graceful exit and/or improving unwinding C++ stacks.\r\n\r\nDiscussion has been already taking place at several places, e.g. #6297, #6456 (collecting others here)\r\n\r\ncc @jasnell, @kzc, @Qix-, @bnoordhuis  \r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/215598265","html_url":"https://github.com/nodejs/node/issues/6456#issuecomment-215598265","issue_url":"https://api.github.com/repos/nodejs/node/issues/6456","id":215598265,"user":{"login":"kzc","id":11593452,"avatar_url":"https://avatars.githubusercontent.com/u/11593452?v=3","gravatar_id":"","url":"https://api.github.com/users/kzc","html_url":"https://github.com/kzc","followers_url":"https://api.github.com/users/kzc/followers","following_url":"https://api.github.com/users/kzc/following{/other_user}","gists_url":"https://api.github.com/users/kzc/gists{/gist_id}","starred_url":"https://api.github.com/users/kzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzc/subscriptions","organizations_url":"https://api.github.com/users/kzc/orgs","repos_url":"https://api.github.com/users/kzc/repos","events_url":"https://api.github.com/users/kzc/events{/privacy}","received_events_url":"https://api.github.com/users/kzc/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T00:07:08Z","updated_at":"2016-04-29T00:07:08Z","body":"Related: #6379\r\n\r\nAlso discusses `process.stdio.setBlocking(Boolean)`"}}