Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[WPE][GTK] BubblewrapLauncher leaks D-Bus proxy sockets
https://bugs.webkit.org/show_bug.cgi?id=201771 Reviewed by Michael Catanzaro. xdg-dbus-proxy removes the socket when the sync fd is closed by the application. In most of the cases the xdg-dbus-proxy process is killed before the sync fd is closed and the socket file is leaked. We should explicitly close the sync fd. * UIProcess/Launcher/glib/XDGDBusProxy.cpp: (WebKit::XDGDBusProxy::XDGDBusProxy): Save the sync fd. (WebKit::XDGDBusProxy::~XDGDBusProxy): Close the sync fd is needed. (WebKit::XDGDBusProxy::launch const): Return the sync fd. * UIProcess/Launcher/glib/XDGDBusProxy.h: Canonical link: https://commits.webkit.org/247121@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@289608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
a9a0405
commit 68240593d34eb3946bea12965810940228d34129
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters