Make ContentParent::ShutDownProcess fallible in case of failed dispatch
Categories
(Core :: DOM: Content Processes, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: jstutte, Assigned: aiunusov)
References
Details
Attachments
(2 files)
ContentParent::ShutDownProcess
currently does not give any return value if the dispatching of the shutdown messages was successful or not. This makes it impossible to avoid potential races 100% (even if we check CanSend()
before calling it that might change in the time frame we need to arrive at the real dispatch) and might leave us to believe we need to wait for a process shutdown that will never happen.
We should make it return a boolean if the dispatch was successful or not, just like a normal dispatch function.
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
bugherder |
Assignee | ||
Comment 4•2 years ago
|
||
prevent resource leak). r=smaug
Comment 6•2 years ago
|
||
bugherder |
Comment 7•2 years ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Description
•