[Webkit-unassigned] [Bug 154061] New: Modern IDB: Ref cycle between IDBObjectStore and IDBTransaction
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 9 21:03:32 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=154061
Bug ID: 154061
Summary: Modern IDB: Ref cycle between IDBObjectStore and
IDBTransaction
Classification: Unclassified
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: beidson at apple.com
Modern IDB: Ref cycle between IDBObjectStore and IDBTransaction
IDBTransaction has to retain a list of all object stores referenced during its lifetime, and object stores need a pointer to their transaction.
Fortunately it's easy to break this cycle: Once the transaction is aborting or committing, accessing its referenced object stores is no longer possible.
So at that time, the set of references object stores can be cleared, breaking the cycle.
--
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/20160210/8048299d/attachment.html>
More information about the webkit-unassigned
mailing list