Closed Bug 1605119 Opened 6 years ago Closed 6 years ago

Add NS_NewCancelableRunnableFunction

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

Analogous to the utility function NS_NewRunnableFunction, a NS_NewCancelableRunnableFunction would be convenient, which clears the stored function object on a call to Cancel (and thus destroys all objects it holds).

Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66d546869558 Add NS_NewCancelableRunnableFunction. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Regressions: 1668314
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: