{"action":"created","issue":{"url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/issues/1","repository_url":"https://api.github.com/repos/Daggerbot/aurum-gl-context","labels_url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/issues/1/comments","events_url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/issues/1/events","html_url":"https://github.com/Daggerbot/aurum-gl-context/issues/1","id":147175812,"number":1,"title":"Event::Destroy(..) is emitted by Context::new().","user":{"login":"Daggerbot","id":878054,"avatar_url":"https://avatars.githubusercontent.com/u/878054?v=3","gravatar_id":"","url":"https://api.github.com/users/Daggerbot","html_url":"https://github.com/Daggerbot","followers_url":"https://api.github.com/users/Daggerbot/followers","following_url":"https://api.github.com/users/Daggerbot/following{/other_user}","gists_url":"https://api.github.com/users/Daggerbot/gists{/gist_id}","starred_url":"https://api.github.com/users/Daggerbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daggerbot/subscriptions","organizations_url":"https://api.github.com/users/Daggerbot/orgs","repos_url":"https://api.github.com/users/Daggerbot/repos","events_url":"https://api.github.com/users/Daggerbot/events{/privacy}","received_events_url":"https://api.github.com/users/Daggerbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/labels/p-win32","name":"p-win32","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-09T23:34:39Z","updated_at":"2016-04-10T20:39:40Z","closed_at":"2016-04-10T20:39:40Z","body":"On Windows, a temporary window is created and destroyed when creating an OpenGL context. This causes an `Event::Destroy(..)` to be emitted. This is not a huge problem, but it could be unexpected to the user and cause some problems if they don't know why the event is emitted.\r\n\r\nFor `aurum-display`, there should be a way to filter events when polling. Then an easy solution would be to wait for the event, leaving other events in the queue, before returning the new `ContextProvider`."},"comment":{"url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/issues/comments/208064486","html_url":"https://github.com/Daggerbot/aurum-gl-context/issues/1#issuecomment-208064486","issue_url":"https://api.github.com/repos/Daggerbot/aurum-gl-context/issues/1","id":208064486,"user":{"login":"Daggerbot","id":878054,"avatar_url":"https://avatars.githubusercontent.com/u/878054?v=3","gravatar_id":"","url":"https://api.github.com/users/Daggerbot","html_url":"https://github.com/Daggerbot","followers_url":"https://api.github.com/users/Daggerbot/followers","following_url":"https://api.github.com/users/Daggerbot/following{/other_user}","gists_url":"https://api.github.com/users/Daggerbot/gists{/gist_id}","starred_url":"https://api.github.com/users/Daggerbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daggerbot/subscriptions","organizations_url":"https://api.github.com/users/Daggerbot/orgs","repos_url":"https://api.github.com/users/Daggerbot/repos","events_url":"https://api.github.com/users/Daggerbot/events{/privacy}","received_events_url":"https://api.github.com/users/Daggerbot/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T20:39:40Z","updated_at":"2016-04-10T20:39:40Z","body":"Fixed by 6ba051f."}}