{"action":"created","issue":{"url":"https://api.github.com/repos/andlabs/libui/issues/60","repository_url":"https://api.github.com/repos/andlabs/libui","labels_url":"https://api.github.com/repos/andlabs/libui/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/andlabs/libui/issues/60/comments","events_url":"https://api.github.com/repos/andlabs/libui/issues/60/events","html_url":"https://github.com/andlabs/libui/pull/60","id":156589347,"number":60,"title":"Fix test crash on exit on OS X","user":{"login":"kainjow","id":271035,"avatar_url":"https://avatars.githubusercontent.com/u/271035?v=3","gravatar_id":"","url":"https://api.github.com/users/kainjow","html_url":"https://github.com/kainjow","followers_url":"https://api.github.com/users/kainjow/followers","following_url":"https://api.github.com/users/kainjow/following{/other_user}","gists_url":"https://api.github.com/users/kainjow/gists{/gist_id}","starred_url":"https://api.github.com/users/kainjow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kainjow/subscriptions","organizations_url":"https://api.github.com/users/kainjow/orgs","repos_url":"https://api.github.com/users/kainjow/repos","events_url":"https://api.github.com/users/kainjow/events{/privacy}","received_events_url":"https://api.github.com/users/kainjow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T19:27:12Z","updated_at":"2016-05-24T20:07:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/andlabs/libui/pulls/60","html_url":"https://github.com/andlabs/libui/pull/60","diff_url":"https://github.com/andlabs/libui/pull/60.diff","patch_url":"https://github.com/andlabs/libui/pull/60.patch"},"body":"This should fix the crash reported in #58. I believe the issue is related to the menus being released, then the menu items being released afterwards, but still referencing the deallocated menu internally, thus the crash.\r\n\r\nOddly enough, I'm using a CMake project to debug with Xcode and when I set it to a bundle target (so it generates a proper .app), it's harder to reproduce, but when I leave it as a console app, it reproduces every time (same as `make test`)."},"comment":{"url":"https://api.github.com/repos/andlabs/libui/issues/comments/221386685","html_url":"https://github.com/andlabs/libui/pull/60#issuecomment-221386685","issue_url":"https://api.github.com/repos/andlabs/libui/issues/60","id":221386685,"user":{"login":"andlabs","id":718242,"avatar_url":"https://avatars.githubusercontent.com/u/718242?v=3","gravatar_id":"","url":"https://api.github.com/users/andlabs","html_url":"https://github.com/andlabs","followers_url":"https://api.github.com/users/andlabs/followers","following_url":"https://api.github.com/users/andlabs/following{/other_user}","gists_url":"https://api.github.com/users/andlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/andlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andlabs/subscriptions","organizations_url":"https://api.github.com/users/andlabs/orgs","repos_url":"https://api.github.com/users/andlabs/repos","events_url":"https://api.github.com/users/andlabs/events{/privacy}","received_events_url":"https://api.github.com/users/andlabs/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T20:07:56Z","updated_at":"2016-05-24T20:07:56Z","body":"Do you see \"after uiUninit()\" on the debug log in Xcode when you build as an app bundle? Out of curiosity."}}
{"actor":{"display_login":"andlabs"}}