{"action":"created","issue":{"url":"https://api.github.com/repos/square/PonyDebugger/issues/4","labels_url":"https://api.github.com/repos/square/PonyDebugger/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/square/PonyDebugger/issues/4/comments","events_url":"https://api.github.com/repos/square/PonyDebugger/issues/4/events","html_url":"https://github.com/square/PonyDebugger/issues/4","id":6562688,"number":4,"title":"Removed MOCs don't disappear until devtools are reloaded","user":{"login":"erichoracek","id":438313,"avatar_url":"https://avatars.githubusercontent.com/u/438313?v=3","gravatar_id":"","url":"https://api.github.com/users/erichoracek","html_url":"https://github.com/erichoracek","followers_url":"https://api.github.com/users/erichoracek/followers","following_url":"https://api.github.com/users/erichoracek/following{/other_user}","gists_url":"https://api.github.com/users/erichoracek/gists{/gist_id}","starred_url":"https://api.github.com/users/erichoracek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erichoracek/subscriptions","organizations_url":"https://api.github.com/users/erichoracek/orgs","repos_url":"https://api.github.com/users/erichoracek/repos","events_url":"https://api.github.com/users/erichoracek/events{/privacy}","received_events_url":"https://api.github.com/users/erichoracek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/square/PonyDebugger/labels/upstream%20bug","name":"upstream bug","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-08-30T19:34:54Z","updated_at":"2015-07-24T21:52:17Z","closed_at":"2015-07-24T21:52:17Z","body":"In an app with multiple child-parent MOCs, the child MOCs that are being registered with the PDDebugger singleton aren't disappearing from the list of MOCs (in devtools) when removeManagedObjectContext: is called. When the _broadcastDatabaseNames method is called (in PDIndexedDBDomainController), the change is seems to be reflected in the broadcasted dbNames array, but it doesn't seem to update in the devtools page until its been reloaded entirely. The removed MOCs show up in the list under \"IndexedDB\", but don't have anything in any of their tables, so they're obviously disconnected—it's just not updated in the list.  Any ideas?"},"comment":{"url":"https://api.github.com/repos/square/PonyDebugger/issues/comments/124737383","html_url":"https://github.com/square/PonyDebugger/issues/4#issuecomment-124737383","issue_url":"https://api.github.com/repos/square/PonyDebugger/issues/4","id":124737383,"user":{"login":"srajkovic","id":5490772,"avatar_url":"https://avatars.githubusercontent.com/u/5490772?v=3","gravatar_id":"","url":"https://api.github.com/users/srajkovic","html_url":"https://github.com/srajkovic","followers_url":"https://api.github.com/users/srajkovic/followers","following_url":"https://api.github.com/users/srajkovic/following{/other_user}","gists_url":"https://api.github.com/users/srajkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/srajkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srajkovic/subscriptions","organizations_url":"https://api.github.com/users/srajkovic/orgs","repos_url":"https://api.github.com/users/srajkovic/repos","events_url":"https://api.github.com/users/srajkovic/events{/privacy}","received_events_url":"https://api.github.com/users/srajkovic/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T21:52:17Z","updated_at":"2015-07-24T21:52:17Z","body":"We're doing some housekeeping and closing old issues. Please reopen if this is still an issue on newer versions. Thanks for opening!"}}