{"action":"opened","issue":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/307","repository_url":"https://api.github.com/repos/raspberrypi/userland","labels_url":"https://api.github.com/repos/raspberrypi/userland/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/userland/issues/307/comments","events_url":"https://api.github.com/repos/raspberrypi/userland/issues/307/events","html_url":"https://github.com/raspberrypi/userland/issues/307","id":148384134,"number":307,"title":"bcm_host_deinit() required","user":{"login":"mihalop","id":5981529,"avatar_url":"https://avatars.githubusercontent.com/u/5981529?v=3","gravatar_id":"","url":"https://api.github.com/users/mihalop","html_url":"https://github.com/mihalop","followers_url":"https://api.github.com/users/mihalop/followers","following_url":"https://api.github.com/users/mihalop/following{/other_user}","gists_url":"https://api.github.com/users/mihalop/gists{/gist_id}","starred_url":"https://api.github.com/users/mihalop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihalop/subscriptions","organizations_url":"https://api.github.com/users/mihalop/orgs","repos_url":"https://api.github.com/users/mihalop/repos","events_url":"https://api.github.com/users/mihalop/events{/privacy}","received_events_url":"https://api.github.com/users/mihalop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-14T14:43:13Z","updated_at":"2016-04-14T14:43:13Z","closed_at":null,"body":"I am using multiple processes interfacing with DispmanX API to create and use OpenGLES surfaces. Right now, we are using pi3d. These processes continue to run concurrently, and I need more than 4. But after bcm_host_init() is called internally by pi3d, there is no way to patch pi3d to disconnect from the service.\r\n\r\nI have seen #197. In our case, calling bcm_host_deinit() after pi3d gets the surface is required. Any chance to provide an implementation based on the process exit clean up code?"}}