[Webkit-unassigned] [Bug 217655] [WPE] PlatformDisplay::shutDownEglDisplays() is never called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 7 07:52:40 PDT 2021


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

--- Comment #10 from Adrian Perez <aperez at igalia.com> ---
(In reply to Michael Catanzaro from comment #9)

> Ugh, so then another option would be to ensure we always exit using _exit()
> rather than exit().

Well, then the EGL displays will never be terminated because _exit()
directly does the syscall() to tell the kernel to kill the process
without running any atexit() handlers _at all_.

> One thing's for sure: switching between _exit() and exit() depending on how
> the web process quits is inconsistent and not great!

Yes, it's confusing. If there is some good reason (at all) to use _exit()
IMO it should be explained with a comment next to the code.

-- 
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/20211007/b47efcb2/attachment.htm>


More information about the webkit-unassigned mailing list