Closed Bug 596706 Opened 14 years ago Closed 14 years ago

don't keep ref to repeating variable nor check repeating status per interval iteration

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Unassigned)

Details

Attachments

(1 file, 2 obsolete files)

Erik has generated this change with the comment "no need to keep ref to 'repeating' variable, nor is there a need to check the repeating status per iteration of an interval":

http://github.com/erikvold/jetpack-sdk/commit/68ccad6eec642b259ca30b6aa7dbd814d6cf6530

I'd attach a patch to this bug and request review, but neither my git fu nor GitHub's interface is up to the task.

Atul: can you generate a patch and/or review this change?
Attached patch no need to keep ref to repeating (obsolete) — Splinter Review
Attachment #475599 - Flags: review?(avarma)
git format-patch -1 68ccad6eec642b259ca30b6aa7dbd814d6cf6530
I've got a better way to handle this actually, I'll attach another patch soon.
Attachment #475599 - Attachment is obsolete: true
Attachment #475599 - Flags: review?(avarma)
with this last commit refs to timerID that are not needed (for interval callbacks) are not created.
Attachment #475697 - Flags: review?(avarma)
Comment on attachment 475697 [details] [diff] [review]
removing usage of 'repeating' variable in the timer module.

Looks good, thanks Erik!
Attachment #475697 - Flags: review?(avarma) → review+
Pushed:

Bug 596706 - don't keep ref to repeating variable nor check repeating status per interval iteration
Erik Vold
http://hg.mozilla.org/labs/jetpack-sdk/rev/703efb8a9cf7
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: