Closed
Bug 1659034
Opened 5 years ago
Closed 5 years ago
nsThread should only unregister itself from the profiler if it registered itself
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
81 Branch
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(1 file)
nsThread should only call PROFILER_UNREGISTER_THREAD() if it called PROFILER_REGISTER_THREAD() with a non-empty name before.
This is probably not the cause of bug 1657174, which crashes with named threads; but it's the correct thing to do anyway.
| Assignee | ||
Comment 1•5 years ago
|
||
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd100ad06a48
Only call PROFILER_UNREGISTER_THREAD in nsThread::ThreadFunc if PROFILER_REGISTER_THREAD was called before - r=canaltinova
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•