Closed
Bug 1271791
Opened 9 years ago
Closed 3 years ago
Shutdown LSP Annotator thread properly
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
INVALID
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
the LSP annotator thread is shut down with AsyncShutdown, and frequently isn't shut down by the time a test exits. This switches it to Shutdown(), since that shouldn't add much time (to shut down an idle thread), and I doubt this runs very often (likely once at startup).
Perhaps we should instead mark threads in AsyncShutdown such that we wait on finishing the shutdown in the ThreadManager shutdown without asserting.
Assignee | ||
Comment 1•9 years ago
|
||
let me know if you want to instead modify AsyncShutdown (assuming these all were actually in AsyncShutdown, which a Try will verify)
Attachment #8750970 -
Flags: review?(nfroyd)
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8750970 [details] [diff] [review]
Shut down LSP Annotator thread synchronously
Patch doesn't seem to solve (all) the problems with LSP
Attachment #8750970 -
Flags: review?(nfroyd)
tracking-fennec: --- → ?
status-firefox60:
--- → ?
status-firefox61:
--- → ?
status-firefox62:
--- → ?
status-firefox-esr52:
--- → ?
status-firefox-esr60:
--- → ?
tracking-firefox60:
--- → ?
tracking-firefox61:
--- → ?
tracking-firefox62:
--- → ?
tracking-firefox-esr52:
--- → ?
tracking-firefox-esr60:
--- → ?
relnote-firefox:
--- → ?
tracking-thunderbird_esr52:
--- → ?
tracking-thunderbird_esr60:
--- → ?
Flags: sec-bounty?
Flags: in-testsuite?
Flags: behind-pref+
Flags: a11y-review?
Updated•6 years ago
|
tracking-fennec: ? → ---
status-firefox60:
? → ---
status-firefox61:
? → ---
status-firefox62:
? → ---
status-firefox-esr52:
? → ---
status-firefox-esr60:
? → ---
tracking-firefox60:
? → ---
tracking-firefox61:
? → ---
tracking-firefox62:
? → ---
tracking-firefox-esr52:
? → ---
tracking-firefox-esr60:
? → ---
relnote-firefox:
? → ---
tracking-thunderbird_esr52:
? → ---
tracking-thunderbird_esr60:
? → ---
Flags: sec-bounty?
Flags: in-testsuite?
Flags: behind-pref+
Flags: a11y-review?
Assignee | ||
Comment 3•3 years ago
|
||
Code refactored
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•