[Webkit-unassigned] [Bug 241583] Make sure WebPageProxy doesn't leak though strong references in async IPC callbacks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 16 15:40:54 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241583

--- Comment #12 from Yury Semikhatsky <yurys at chromium.org> ---
(In reply to Chris Dumez from comment #10)
> 
> WPE could adopt ProcessAssertion / ProcessThrottler to control suspension
> similarly to what we do (although they'd do the suspension themselves when
> releasing the process assertion).
> 
> Alternatively, WPE could do their own thing but that works in a similar way.
> Basically, they'd need an object they can hold (and capture in lambdas) that
> can delay process suspension until released.

This can help to reliably account for pending activities in the UI process and prevent the child process from stopping which solves part of the problem. Once the child process is paused the UI process can be killed with SIGKILL in which case the child will continue hanging (as it only responds to SIGCONT and SIGKILL while it's stopped). Looks like addressing such use case would anyway require some sort of "a manager process" as Michael Catanzaro described above.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220816/24858ea4/attachment-0001.htm>


More information about the webkit-unassigned mailing list