Closed Bug 36134 Opened 25 years ago Closed 25 years ago

Cancelling a one-shot timer that has already fired does an extra Release()

Categories

(Core :: XUL, defect, P3)

PowerPC
Mac System 9.x
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mikepinkerton, Assigned: sfraser_bugs)

References

Details

(Keywords: crash)

As we discussed, if you call |timer->Cancel()| a timer that has alredy been fired (and is a one-shot) then the Cancel() code will do an extra Release(). Fix is to make the timer code remember if it has fired so it can ignore the Cancel. This seems to be mac only, i haven't looked at the unix code.
Blocks: 22511
Status: NEW → ASSIGNED
My bad.
this blocks the tooltip implementation on Mac
Blocks: 9767
Target Milestone: --- → M16
Keywords: crash
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
OS: Mac System 9.x
You need to log in before you can comment on or make changes to this bug.