Closed Bug 1493045 Opened 6 years ago Closed 6 years ago

WeakPtr should assert thread-safety on destruction

Categories

(Core :: MFBT, enhancement)

enhancement
Not set
normal

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: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: