Closed Bug 1271791 Opened 9 years ago Closed 3 years ago

Shutdown LSP Annotator thread properly

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jesup, Assigned: jesup)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.
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)
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: --- → ?
relnote-firefox: --- → ?
Flags: sec-bounty?
Flags: in-testsuite?
Flags: behind-pref+
Flags: a11y-review?
tracking-fennec: ? → ---
relnote-firefox: ? → ---
Flags: sec-bounty?
Flags: in-testsuite?
Flags: behind-pref+
Flags: a11y-review?

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.

Attachment

General

Created:
Updated:
Size: