Avoid sContentParents assertion
Categories
(Core :: DOM: Content Processes, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(2 files)
As seen in bug 1745864, many kinds of leaks will cause us to not clean up ContentParents. This in turn means that sContentParents isn't empty when we shut down, which means we hit an assertion. This in effect causes leaks to get turned into a single generic assertion, which hurts distinguishing different leaks.
In bug 1661862, I wrote a little wrapper class that simply cleans up a static linked list when destroyed, rather than asserting. I'll do the same here.
Assignee | ||
Comment 1•2 years ago
|
||
This keeps us from asserting when a ContentParent leaks, in
order to keep different leaks from getting bucketed together
on TreeHerder.
Assignee | ||
Comment 2•2 years ago
|
||
This static variable used to be set in a method called RecvPrivateDocShellsExist,
but it is now always null.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/940d75dffee4
https://hg.mozilla.org/mozilla-central/rev/3b38f7a8b170
Description
•