[Webkit-unassigned] [Bug 22710] New: Memory leak due to circular reference Document->DOMTimer->ScheduledAction->[JS objects]->Document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 6 04:54:36 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22710
Summary: Memory leak due to circular reference Document-
>DOMTimer->ScheduledAction->[JS objects]->Document
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dimich at chromium.org
DOMTimer::stop() will stop the timer but not release the ScheduledAction which
holds to a JSFunction which can hold onto a bunch of JS wrappers They can keep
a reference back to Document that owns the DOMTimer. Hence, refcount on a
Document never goes to 0.
Fix is to delete the ScheduledAction in DOMTimer::stop().
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list