{"action":"closed","issue":{"url":"https://api.github.com/repos/xeolabs/xeogl/issues/126","repository_url":"https://api.github.com/repos/xeolabs/xeogl","labels_url":"https://api.github.com/repos/xeolabs/xeogl/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/xeolabs/xeogl/issues/126/comments","events_url":"https://api.github.com/repos/xeolabs/xeogl/issues/126/events","html_url":"https://github.com/xeolabs/xeogl/issues/126","id":190141189,"number":126,"title":"scene.destroy() generates an error","user":{"login":"bastienmenis","id":4595543,"avatar_url":"https://avatars.githubusercontent.com/u/4595543?v=3","gravatar_id":"","url":"https://api.github.com/users/bastienmenis","html_url":"https://github.com/bastienmenis","followers_url":"https://api.github.com/users/bastienmenis/followers","following_url":"https://api.github.com/users/bastienmenis/following{/other_user}","gists_url":"https://api.github.com/users/bastienmenis/gists{/gist_id}","starred_url":"https://api.github.com/users/bastienmenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastienmenis/subscriptions","organizations_url":"https://api.github.com/users/bastienmenis/orgs","repos_url":"https://api.github.com/users/bastienmenis/repos","events_url":"https://api.github.com/users/bastienmenis/events{/privacy}","received_events_url":"https://api.github.com/users/bastienmenis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"xeolabs","id":83100,"avatar_url":"https://avatars.githubusercontent.com/u/83100?v=3","gravatar_id":"","url":"https://api.github.com/users/xeolabs","html_url":"https://github.com/xeolabs","followers_url":"https://api.github.com/users/xeolabs/followers","following_url":"https://api.github.com/users/xeolabs/following{/other_user}","gists_url":"https://api.github.com/users/xeolabs/gists{/gist_id}","starred_url":"https://api.github.com/users/xeolabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeolabs/subscriptions","organizations_url":"https://api.github.com/users/xeolabs/orgs","repos_url":"https://api.github.com/users/xeolabs/repos","events_url":"https://api.github.com/users/xeolabs/events{/privacy}","received_events_url":"https://api.github.com/users/xeolabs/received_events","type":"User","site_admin":false},"assignees":[{"login":"xeolabs","id":83100,"avatar_url":"https://avatars.githubusercontent.com/u/83100?v=3","gravatar_id":"","url":"https://api.github.com/users/xeolabs","html_url":"https://github.com/xeolabs","followers_url":"https://api.github.com/users/xeolabs/followers","following_url":"https://api.github.com/users/xeolabs/following{/other_user}","gists_url":"https://api.github.com/users/xeolabs/gists{/gist_id}","starred_url":"https://api.github.com/users/xeolabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeolabs/subscriptions","organizations_url":"https://api.github.com/users/xeolabs/orgs","repos_url":"https://api.github.com/users/xeolabs/repos","events_url":"https://api.github.com/users/xeolabs/events{/privacy}","received_events_url":"https://api.github.com/users/xeolabs/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-11-17T19:30:57Z","updated_at":"2016-12-26T16:06:30Z","closed_at":"2016-12-26T16:06:30Z","body":"Calling `scene.destroy()` generates an error. I am using the build included in bimSurfer.\r\n\r\nError in Chrome:\r\n`xeoengine.js:33187 Uncaught TypeError: Cannot read property 'destroy' of null(…)`\r\n\r\nOn this line in `XEO.ColorTarget` object:\r\n`this._state.renderBuf.destroy();`\r\n\r\nDo I need to destroy some elements manually before calling `scene.destroy()`?"}}
{"actor":{"display_login":"xeolabs"}}