{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/7575","repository_url":"https://api.github.com/repos/highfidelity/hifi","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/7575/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/7575/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/7575/events","html_url":"https://github.com/highfidelity/hifi/pull/7575","id":146050709,"number":7575,"title":"Don't release the Oculus plugin when disabling the plugin","user":{"login":"jherico","id":1533642,"avatar_url":"https://avatars.githubusercontent.com/u/1533642?v=3","gravatar_id":"","url":"https://api.github.com/users/jherico","html_url":"https://github.com/jherico","followers_url":"https://api.github.com/users/jherico/followers","following_url":"https://api.github.com/users/jherico/following{/other_user}","gists_url":"https://api.github.com/users/jherico/gists{/gist_id}","starred_url":"https://api.github.com/users/jherico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jherico/subscriptions","organizations_url":"https://api.github.com/users/jherico/orgs","repos_url":"https://api.github.com/users/jherico/repos","events_url":"https://api.github.com/users/jherico/events{/privacy}","received_events_url":"https://api.github.com/users/jherico/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highfidelity/hifi/labels/QA%20Ready","name":"QA Ready","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-05T17:07:37Z","updated_at":"2016-04-05T17:19:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/7575","html_url":"https://github.com/highfidelity/hifi/pull/7575","diff_url":"https://github.com/highfidelity/hifi/pull/7575.diff","patch_url":"https://github.com/highfidelity/hifi/pull/7575.patch"},"body":"Currently we attempt to shut down the connection to the Oculus SDK when disabling the Oculus display plugin.  However, for whatever reason, this does not seem to work correctly.  The HMD never returns to Oculus home.  Further, subsequently re-enabling the SDK almost inevitably results in a crash.\r\n\r\nThis is an ugly interim solution to avoid this crash by simply not releasing the Oculus SDK connection and re-using the same 'session' from activation to activation.  It resolves the crash, but in the long run it's the wrong thing to do IMO.  However, since Oculus isn't very focused on multi-mode apps right now, I'm not sure there core support for turning the SDK off and on repeatedly is really there.  "},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/205906125","html_url":"https://github.com/highfidelity/hifi/pull/7575#issuecomment-205906125","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/7575","id":205906125,"user":{"login":"jherico","id":1533642,"avatar_url":"https://avatars.githubusercontent.com/u/1533642?v=3","gravatar_id":"","url":"https://api.github.com/users/jherico","html_url":"https://github.com/jherico","followers_url":"https://api.github.com/users/jherico/followers","following_url":"https://api.github.com/users/jherico/following{/other_user}","gists_url":"https://api.github.com/users/jherico/gists{/gist_id}","starred_url":"https://api.github.com/users/jherico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jherico/subscriptions","organizations_url":"https://api.github.com/users/jherico/orgs","repos_url":"https://api.github.com/users/jherico/repos","events_url":"https://api.github.com/users/jherico/events{/privacy}","received_events_url":"https://api.github.com/users/jherico/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T17:19:53Z","updated_at":"2016-04-05T17:19:53Z","body":"https://app.asana.com/0/27650181942747/108595992029234"}}