[Webkit-unassigned] [Bug 196956] New: Web Inspector: use weak collections for holding event listeners
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 15 21:13:57 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=196956
Bug ID: 196956
Summary: Web Inspector: use weak collections for holding event
listeners
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: drousso at apple.com
CC: inspector-bugzilla-changes at group.apple.com
The current `WI.Object` can create reference cycles when it saves `thisObject` via `addEventListener`. We should use a WeakMap/WeakSet to hold these objects (and maybe even the listener function) so that they can be GC'd.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190416/4505feac/attachment-0001.html>
More information about the webkit-unassigned
mailing list