[Webkit-unassigned] [Bug 154015] Modern IDB: Ref-cycles and leaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 9 14:04:26 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=154015

--- Comment #2 from Brady Eidson <beidson at apple.com> ---
Next in line is IDBDatabase:

It has a couple of refs that come and go during event dispatch, all nicely balanced.

It's initial ref is held as the result of the OpenDBRequest. So as long as the open DB request is cleaned up, we're fine.

In the case of an upgrade needed, it's next ref is held by the version change IDBTransaction.

And, in fact, that ref lasts as long as the transaction object, which is "a very very long time."

To see if there's anything circular there, I'll now dig in to the transaction lifetime.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160209/4723a371/attachment-0001.html>


More information about the webkit-unassigned mailing list