Closed
Bug 619167
Opened 14 years ago
Closed 14 years ago
Timer in script-1_bug597345.sjs is at risk of being garbage collected
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jdm, Unassigned)
References
Details
Attachments
(1 file)
1.15 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
A timer is created in handleRequest but goes out of scope, so the timer races with a GC and can end up being cancelled. This is exacerbated by bug 508128.
Reporter | ||
Comment 1•14 years ago
|
||
Attachment #497600 -
Flags: review?(bzbarsky)
![]() |
||
Comment 2•14 years ago
|
||
Comment on attachment 497600 [details] [diff] [review]
Scope timer variable so it is not at risk of being garbage collected.
r=me
Attachment #497600 -
Flags: review?(bzbarsky) → review+
Reporter | ||
Updated•14 years ago
|
Blocks: nsITimer-fail
Reporter | ||
Comment 3•14 years ago
|
||
Someone else already got to this one.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•