{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/7578","repository_url":"https://api.github.com/repos/highfidelity/hifi","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/7578/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/7578/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/7578/events","html_url":"https://github.com/highfidelity/hifi/pull/7578","id":146091856,"number":7578,"title":"Delete resource the Qt way","user":{"login":"zzmp","id":5403956,"avatar_url":"https://avatars.githubusercontent.com/u/5403956?v=3","gravatar_id":"","url":"https://api.github.com/users/zzmp","html_url":"https://github.com/zzmp","followers_url":"https://api.github.com/users/zzmp/followers","following_url":"https://api.github.com/users/zzmp/following{/other_user}","gists_url":"https://api.github.com/users/zzmp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzmp/subscriptions","organizations_url":"https://api.github.com/users/zzmp/orgs","repos_url":"https://api.github.com/users/zzmp/repos","events_url":"https://api.github.com/users/zzmp/events{/privacy}","received_events_url":"https://api.github.com/users/zzmp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highfidelity/hifi/labels/Development%20Approved","name":"Development Approved","color":"009800"},{"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":3,"created_at":"2016-04-05T19:48:19Z","updated_at":"2016-04-06T22:00:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/7578","html_url":"https://github.com/highfidelity/hifi/pull/7578","diff_url":"https://github.com/highfidelity/hifi/pull/7578.diff","patch_url":"https://github.com/highfidelity/hifi/pull/7578.patch"},"body":"- Delete Resources via Qt to purge signal/slot connections\r\n\r\n---\r\n\r\n#### Intent\r\nFixes a frequent crash where reloading entities causing an access violation in Qt, often by tracking progress.\r\n(See: https://app.asana.com/0/74051501495175/107561861311879.)\r\n\r\n#### Testing\r\n\r\n##### Repro\r\n\r\nReally just a smoke test. Here's what we will eventually test:\r\n\r\n1. Go to somewhere with lots to load.\r\n2. Reload the cache repeatedly.\r\n\r\n##### Expectations\r\nIn current build, you will eventually crash. This is due to referencing a now-deleted raw pointer.\r\nIn this PR build, you may still crash :/. This is only one step of the way to fixing it, that should get rid of intermittent crashes from polling progress."},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/206589627","html_url":"https://github.com/highfidelity/hifi/pull/7578#issuecomment-206589627","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/7578","id":206589627,"user":{"login":"hifi-gustavo","id":4554450,"avatar_url":"https://avatars.githubusercontent.com/u/4554450?v=3","gravatar_id":"","url":"https://api.github.com/users/hifi-gustavo","html_url":"https://github.com/hifi-gustavo","followers_url":"https://api.github.com/users/hifi-gustavo/followers","following_url":"https://api.github.com/users/hifi-gustavo/following{/other_user}","gists_url":"https://api.github.com/users/hifi-gustavo/gists{/gist_id}","starred_url":"https://api.github.com/users/hifi-gustavo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hifi-gustavo/subscriptions","organizations_url":"https://api.github.com/users/hifi-gustavo/orgs","repos_url":"https://api.github.com/users/hifi-gustavo/repos","events_url":"https://api.github.com/users/hifi-gustavo/events{/privacy}","received_events_url":"https://api.github.com/users/hifi-gustavo/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T22:00:08Z","updated_at":"2016-04-06T22:00:08Z","body":"Build console output for commit: 4300f2e4153acebe940d754d5ac06dc71b8899eb available at: https://gist.github.com/9b869f9f44be2f305174b73f7ff0f9bc<br/><br/>Installers available for download at: <br/>Windows: http://s3.amazonaws.com/hifi-public/pr-builds/HighFidelity-Alpha-PR7578.exe<br/>OS X: http://s3.amazonaws.com/hifi-public/pr-builds/HighFidelity-Alpha-PR7578.dmg"}}