Closed
Bug 761135
Opened 11 years ago
Closed 10 years ago
Remove XPCOMGlueShutdown
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: benjamin, Assigned: BenWa)
References
Details
Attachments
(1 file)
4.10 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
XPCOMGlueShutdown is a footgun: there's absolutely no need to unload the XPCOM libraries (we couldn't reload a new version anyway), and if there happened to be any extra threads running that late they would very likely crash. It should be removed.
Comment 1•11 years ago
|
||
I wonder if that couldn't lead to leaks being reported in debug builds. So I pushed a simple test to try. https://tbpl.mozilla.org/?tree=Try&rev=2dfe5fcb157f
Comment 2•11 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #1) > I wonder if that couldn't lead to leaks being reported in debug builds. > > So I pushed a simple test to try. > https://tbpl.mozilla.org/?tree=Try&rev=2dfe5fcb157f Apparently, it's fine.
Assignee | ||
Comment 3•10 years ago
|
||
This is getting in the way of shutdown write poisoning. I'll take this.
Assignee: benjamin → bgirard
Assignee | ||
Comment 4•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=ea07ea295b4b
Assignee | ||
Comment 5•10 years ago
|
||
Note that I did NOT remove XPCOMGlueUnload which is still called from a few other locations
Assignee | ||
Updated•10 years ago
|
Attachment #698841 -
Flags: review?(benjamin)
Reporter | ||
Updated•10 years ago
|
Attachment #698841 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/03fd5f43435d
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/03fd5f43435d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/03fd5f43435d
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/03fd5f43435d
Comment 10•10 years ago
|
||
Bustage fix for comm-central pushed: https://hg.mozilla.org/comm-central/rev/963d7a2dfe81
Assignee | ||
Comment 11•10 years ago
|
||
Thanks jcranmer
You need to log in
before you can comment on or make changes to this bug.
Description
•