Closed Bug 1493045 Opened Last year Closed Last year

WeakPtr should assert thread-safety on destruction

Categories

(Core :: MFBT, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: jld, Assigned: jld)

References

Details

Attachments

(1 file)

WeakPtr has thread-safety assertions on almost all operations, including dereference, but not destruction.  This looks relatively simple to fix.
Pushed by jedavis@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d797c6f6f13
Assert thread-safety when destroying WeakPtr r=froydnj
https://hg.mozilla.org/mozilla-central/rev/5d797c6f6f13
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.