{"action":"created","issue":{"url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/issues/146","repository_url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python","labels_url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/issues/146/comments","events_url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/issues/146/events","html_url":"https://github.com/adafruit/adafruit-beaglebone-io-python/pull/146","id":238373152,"number":146,"title":"Fixed issue #145 GPIO library doesn't free GPIO file descriptor. File descriptor leak.","user":{"login":"Vadim-Stupakov","id":11485451,"avatar_url":"https://avatars2.githubusercontent.com/u/11485451?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadim-Stupakov","html_url":"https://github.com/Vadim-Stupakov","followers_url":"https://api.github.com/users/Vadim-Stupakov/followers","following_url":"https://api.github.com/users/Vadim-Stupakov/following{/other_user}","gists_url":"https://api.github.com/users/Vadim-Stupakov/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadim-Stupakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadim-Stupakov/subscriptions","organizations_url":"https://api.github.com/users/Vadim-Stupakov/orgs","repos_url":"https://api.github.com/users/Vadim-Stupakov/repos","events_url":"https://api.github.com/users/Vadim-Stupakov/events{/privacy}","received_events_url":"https://api.github.com/users/Vadim-Stupakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-25T10:41:52Z","updated_at":"2017-06-25T10:47:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/pulls/146","html_url":"https://github.com/adafruit/adafruit-beaglebone-io-python/pull/146","diff_url":"https://github.com/adafruit/adafruit-beaglebone-io-python/pull/146.diff","patch_url":"https://github.com/adafruit/adafruit-beaglebone-io-python/pull/146.patch"},"body":"Fixed issue #145 GPIO library doesn't free GPIO file descriptor. File descriptor leak.\r\nMade a little bit refactoring.\r\n"},"comment":{"url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/issues/comments/310895584","html_url":"https://github.com/adafruit/adafruit-beaglebone-io-python/pull/146#issuecomment-310895584","issue_url":"https://api.github.com/repos/adafruit/adafruit-beaglebone-io-python/issues/146","id":310895584,"user":{"login":"Vadim-Stupakov","id":11485451,"avatar_url":"https://avatars2.githubusercontent.com/u/11485451?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadim-Stupakov","html_url":"https://github.com/Vadim-Stupakov","followers_url":"https://api.github.com/users/Vadim-Stupakov/followers","following_url":"https://api.github.com/users/Vadim-Stupakov/following{/other_user}","gists_url":"https://api.github.com/users/Vadim-Stupakov/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadim-Stupakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadim-Stupakov/subscriptions","organizations_url":"https://api.github.com/users/Vadim-Stupakov/orgs","repos_url":"https://api.github.com/users/Vadim-Stupakov/repos","events_url":"https://api.github.com/users/Vadim-Stupakov/events{/privacy}","received_events_url":"https://api.github.com/users/Vadim-Stupakov/received_events","type":"User","site_admin":false},"created_at":"2017-06-25T10:47:51Z","updated_at":"2017-06-25T10:47:51Z","body":"I did strace and what I saw:\r\nI was looking at these logs for about 10 min and leds continued blinking.\r\n```\r\nselect(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)\r\naccess(\"/sys/class/leds/beaglebone:green:usr1/brightness\", W_OK) = 0\r\nopen(\"/sys/class/leds/beaglebone:green:usr1/brightness\", O_WRONLY) = 4\r\nwrite(4, \"1\", 1)                        = 1\r\nclose(4)               \r\n```"}}
{"actor":{"display_login":"Vadim-Stupakov"}}