{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/emberfire/issues/359","repository_url":"https://api.github.com/repos/firebase/emberfire","labels_url":"https://api.github.com/repos/firebase/emberfire/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/firebase/emberfire/issues/359/comments","events_url":"https://api.github.com/repos/firebase/emberfire/issues/359/events","html_url":"https://github.com/firebase/emberfire/pull/359","id":129014962,"number":359,"title":"Turn off listener on delete record.","user":{"login":"adjohnson916","id":615381,"avatar_url":"https://avatars.githubusercontent.com/u/615381?v=3","gravatar_id":"","url":"https://api.github.com/users/adjohnson916","html_url":"https://github.com/adjohnson916","followers_url":"https://api.github.com/users/adjohnson916/followers","following_url":"https://api.github.com/users/adjohnson916/following{/other_user}","gists_url":"https://api.github.com/users/adjohnson916/gists{/gist_id}","starred_url":"https://api.github.com/users/adjohnson916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjohnson916/subscriptions","organizations_url":"https://api.github.com/users/adjohnson916/orgs","repos_url":"https://api.github.com/users/adjohnson916/repos","events_url":"https://api.github.com/users/adjohnson916/events{/privacy}","received_events_url":"https://api.github.com/users/adjohnson916/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-27T03:12:14Z","updated_at":"2016-02-18T02:14:26Z","closed_at":"2016-02-17T19:40:16Z","pull_request":{"url":"https://api.github.com/repos/firebase/emberfire/pulls/359","html_url":"https://github.com/firebase/emberfire/pull/359","diff_url":"https://github.com/firebase/emberfire/pull/359.diff","patch_url":"https://github.com/firebase/emberfire/pull/359.patch"},"body":"One of the errors alluded to in #358 was a failure in the value read listener around the time of a delete. The change in this PR prevents that error for me. Though, I'm not sure I've implemented it in the right place - e.g. how `deleteRecord` relates to `recordWillUnload` which already calls `stopListening` which does something similar."},"comment":{"url":"https://api.github.com/repos/firebase/emberfire/issues/comments/185510360","html_url":"https://github.com/firebase/emberfire/pull/359#issuecomment-185510360","issue_url":"https://api.github.com/repos/firebase/emberfire/issues/359","id":185510360,"user":{"login":"adjohnson916","id":615381,"avatar_url":"https://avatars.githubusercontent.com/u/615381?v=3","gravatar_id":"","url":"https://api.github.com/users/adjohnson916","html_url":"https://github.com/adjohnson916","followers_url":"https://api.github.com/users/adjohnson916/followers","following_url":"https://api.github.com/users/adjohnson916/following{/other_user}","gists_url":"https://api.github.com/users/adjohnson916/gists{/gist_id}","starred_url":"https://api.github.com/users/adjohnson916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjohnson916/subscriptions","organizations_url":"https://api.github.com/users/adjohnson916/orgs","repos_url":"https://api.github.com/users/adjohnson916/repos","events_url":"https://api.github.com/users/adjohnson916/events{/privacy}","received_events_url":"https://api.github.com/users/adjohnson916/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T02:14:26Z","updated_at":"2016-02-18T02:14:26Z","body":"@tstirrat Thanks, sorry I didn't get around to creating a unit test."}}