Closed
Bug 1685727
Opened 3 years ago
Closed 3 years ago
TaskController cannot process task submitted during ShutdownXPCOM
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: allstars.chh, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
My sample patch is https://gist.github.com/allstarschh/17eeab8c6f37a979e6eef649fab6c11d
During XPCOMShutdown, submit a Task to TaskController, and add assert in TaskController::RunPoolThread to make sure it processes all the tasks before returning.
However, the assertion failed.
During the shutdown, GC will perform many finalization operations so it needs the thread pool to handle these operations even during the shutdown.
Updated•3 years ago
|
Summary: TaskControll cannot process task submitted during ShutdownXPCOM → TaskController cannot process task submitted during ShutdownXPCOM
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → bas
Status: NEW → ASSIGNED
Pushed by bschouten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/145a15ffc8d2 Ensure all the thread pool task queue has been cleared before shutting down. r=smaug
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•