[Webkit-unassigned] [Bug 22755] Next step to Timers in Workers: moving timer code from other places to DOMTimer.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 16 18:19:30 PST 2008


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





------- Comment #4 from dimich at chromium.org  2008-12-16 18:19 PDT -------
(In reply to comment #3)
> (From update of attachment 25991 [review])
> In this patch, what deletes all the timers that are still running when a window
> goes away?

It happens when a Document associated with the window is deleted and calls
contextDestroyed() on all timers. There is 'delete this' in that override on a
DOMTimer. The timers are stopped even before that, from FrameLoader::clear() or
Document::detach(), depending which way the document is destroyed.

Updated patch is on the way.


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