Removed MOCs don't disappear until devtools are reloaded #4

erichoracek opened this Issue Aug 30, 2012 · 2 comments


None yet
3 participants

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?


wlue commented Aug 30, 2012

I suspect that the protocol might not support removal of IndexedDB databases. If this is the case, then we can't do that much about it unless there is some command or event that can cause a full refresh of all of the databases.

There is a chance that it may eventually be implemented with a newer version of devtools, so I'll keep my eyes peeled. The IndexedDB events/commands are not completely implemented in the latest stable spec (1.0) so they could be in flux at the moment.

We're doing some housekeeping and closing old issues. Please reopen if this is still an issue on newer versions. Thanks for opening!

@srajkovic srajkovic closed this Jul 24, 2015

nguyenhuy added a commit to nguyenhuy/PonyDebugger that referenced this issue Sep 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment