{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/2008","repository_url":"https://api.github.com/repos/HaxeFlixel/flixel","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/2008/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/2008/comments","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/2008/events","html_url":"https://github.com/HaxeFlixel/flixel/issues/2008","id":193134952,"number":2008,"title":"The game freezes on -Dnext","user":{"login":"starry-abyss","id":11571820,"avatar_url":"https://avatars.githubusercontent.com/u/11571820?v=3","gravatar_id":"","url":"https://api.github.com/users/starry-abyss","html_url":"https://github.com/starry-abyss","followers_url":"https://api.github.com/users/starry-abyss/followers","following_url":"https://api.github.com/users/starry-abyss/following{/other_user}","gists_url":"https://api.github.com/users/starry-abyss/gists{/gist_id}","starred_url":"https://api.github.com/users/starry-abyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starry-abyss/subscriptions","organizations_url":"https://api.github.com/users/starry-abyss/orgs","repos_url":"https://api.github.com/users/starry-abyss/repos","events_url":"https://api.github.com/users/starry-abyss/events{/privacy}","received_events_url":"https://api.github.com/users/starry-abyss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-02T14:54:53Z","updated_at":"2016-12-14T17:48:10Z","closed_at":null,"body":"- **Flixel version:** dev\r\n- **OpenFL version:** 3.6.1\r\n- **Lime version:** 2.9.1\r\n- **Haxe version:** 3.2.1\r\n- **Affected targets:** neko, windows\r\n\r\n________________________________\r\n\r\n-Dnext.\r\nThis issue has been around for a while now. I can reproduce it in FlxBunnyMark demo (see below).\r\n\r\n________________________________\r\n\r\n**Observed behavior:**\r\n\r\n**Scenario 1:**\r\n- run the game\r\n- minimize the game window\r\n- restore the window back\r\n- the game freezes, Update and Draw in the flx debugger show: 0\r\n\r\nVideo capture: http://i.giphy.com/3oriOchXffaK7OSD1m.gif\r\n\r\n**Scenario 2:**\r\n- run the game\r\n- open and close the flx debugger with tilda key\r\n- click anywhere inside the game window\r\n- the game freezes (in the video example Focus Lost screen is shown, but defining FLX_NO_FOCUS_LOST_SCREEN doesn't fix the freeze itself)\r\n- open and close the flx debugger with tilda key\r\n- the game unfreezes until the next mouse click and so on\r\n\r\nVideo capture: http://i.giphy.com/l2Jht0pruoqifEX8Q.gif\r\n\r\n**Expected behavior:**\r\n\r\nThe game should not freeze"},"comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments/267103337","html_url":"https://github.com/HaxeFlixel/flixel/issues/2008#issuecomment-267103337","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/2008","id":267103337,"user":{"login":"starry-abyss","id":11571820,"avatar_url":"https://avatars.githubusercontent.com/u/11571820?v=3","gravatar_id":"","url":"https://api.github.com/users/starry-abyss","html_url":"https://github.com/starry-abyss","followers_url":"https://api.github.com/users/starry-abyss/followers","following_url":"https://api.github.com/users/starry-abyss/following{/other_user}","gists_url":"https://api.github.com/users/starry-abyss/gists{/gist_id}","starred_url":"https://api.github.com/users/starry-abyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starry-abyss/subscriptions","organizations_url":"https://api.github.com/users/starry-abyss/orgs","repos_url":"https://api.github.com/users/starry-abyss/repos","events_url":"https://api.github.com/users/starry-abyss/events{/privacy}","received_events_url":"https://api.github.com/users/starry-abyss/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T17:48:10Z","updated_at":"2016-12-14T17:48:10Z","body":"@Beeblerox Yes, win7 debug -Dnext neko and windows. Scenario 1 isn't fixed, also I found a variation of it. You can also switch to another window and back to get the freeze."}}
{"actor":{"display_login":"starry-abyss"}}