Closed Bug 1584969 Opened 4 months ago Closed 4 months ago

Remove duplicate observer pointers from the nsIProcess implementation

Categories

(Core :: XPCOM, enhancement, minor)

enhancement
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: gsvelto, Assigned: gsvelto)

Details

Attachments

(1 file)

Each nsProcess object contains two separate observer pointers, one for weakly held observers and one for strongly held ones, see here. This is needlessly complicated and can be replace with nsMaybeWeakPtr.

Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/94822f42a7eb
Use nsMaybeWeakPtr to simplify the nsIProcess implementation r=kmag
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.