[Webkit-unassigned] [Bug 22710] 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 05:20:28 PST 2008


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





------- Comment #2 from dimich at chromium.org  2008-12-06 05:20 PDT -------
Created an attachment (id=25814)
 --> (https://bugs.webkit.org/attachment.cgi?id=25814&action=view)
repro file

repro file by ap at webkit.org.
Set a breakpoint at DOMTimer::stop and ~DOMTimer. Load the file and then close
the window.
You should see stop() called, then ~DOMTimer() called when Document is
destroyed.
Before the fix applied, you see only stop(). After the patch with fix applied,
both are invoked.


-- 
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