{"action":"created","issue":{"url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/687","repository_url":"https://api.github.com/repos/voodootikigod/node-serialport","labels_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/687/comments","events_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/687/events","html_url":"https://github.com/voodootikigod/node-serialport/pull/687","id":143318468,"number":687,"title":"fix race condition closing serial port","user":{"login":"pabigot","id":964298,"avatar_url":"https://avatars.githubusercontent.com/u/964298?v=3","gravatar_id":"","url":"https://api.github.com/users/pabigot","html_url":"https://github.com/pabigot","followers_url":"https://api.github.com/users/pabigot/followers","following_url":"https://api.github.com/users/pabigot/following{/other_user}","gists_url":"https://api.github.com/users/pabigot/gists{/gist_id}","starred_url":"https://api.github.com/users/pabigot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabigot/subscriptions","organizations_url":"https://api.github.com/users/pabigot/orgs","repos_url":"https://api.github.com/users/pabigot/repos","events_url":"https://api.github.com/users/pabigot/events{/privacy}","received_events_url":"https://api.github.com/users/pabigot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/voodootikigod/node-serialport/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-24T18:03:40Z","updated_at":"2016-03-29T04:11:08Z","closed_at":"2016-03-29T04:11:08Z","pull_request":{"url":"https://api.github.com/repos/voodootikigod/node-serialport/pulls/687","html_url":"https://github.com/voodootikigod/node-serialport/pull/687","diff_url":"https://github.com/voodootikigod/node-serialport/pull/687.diff","patch_url":"https://github.com/voodootikigod/node-serialport/pull/687.patch"},"body":"If SerialPort.close() is invoked while fs.read() is blocked the\r\npost-read callback can re-enable the poller after the descriptor has\r\nbeen closed.  Add a check to prevent this.\r\n\r\nSigned-off-by: Peter A. Bigot <pab@pabigot.com>"},"comment":{"url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/comments/202701195","html_url":"https://github.com/voodootikigod/node-serialport/pull/687#issuecomment-202701195","issue_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/687","id":202701195,"user":{"login":"reconbot","id":25966,"avatar_url":"https://avatars.githubusercontent.com/u/25966?v=3","gravatar_id":"","url":"https://api.github.com/users/reconbot","html_url":"https://github.com/reconbot","followers_url":"https://api.github.com/users/reconbot/followers","following_url":"https://api.github.com/users/reconbot/following{/other_user}","gists_url":"https://api.github.com/users/reconbot/gists{/gist_id}","starred_url":"https://api.github.com/users/reconbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reconbot/subscriptions","organizations_url":"https://api.github.com/users/reconbot/orgs","repos_url":"https://api.github.com/users/reconbot/repos","events_url":"https://api.github.com/users/reconbot/events{/privacy}","received_events_url":"https://api.github.com/users/reconbot/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T04:11:08Z","updated_at":"2016-03-29T04:11:08Z","body":"merged #586 "}}