From 030b546fac02daeb123db16ad57d271d155cc2dc Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Tue, 3 Oct 2017 08:12:19 +0000 Subject: [PATCH] [GTK][WPE] WebProcess should run cleanup on quit to release resources https://bugs.webkit.org/show_bug.cgi?id=168126 Reviewed by Michael Catanzaro. Do not call exit on sync message send failure for GTK and WPE ports. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeConnection): Canonical link: https://commits.webkit.org/194053@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222772 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebKit/ChangeLog | 12 ++++++++++++ Source/WebKit/WebProcess/WebProcess.cpp | 2 ++ 2 files changed, 14 insertions(+) diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog index e0d873c3956a..1660b120ae95 100644 --- a/Source/WebKit/ChangeLog +++ b/Source/WebKit/ChangeLog @@ -1,3 +1,15 @@ +2017-10-03 Carlos Garcia Campos + + [GTK][WPE] WebProcess should run cleanup on quit to release resources + https://bugs.webkit.org/show_bug.cgi?id=168126 + + Reviewed by Michael Catanzaro. + + Do not call exit on sync message send failure for GTK and WPE ports. + + * WebProcess/WebProcess.cpp: + (WebKit::WebProcess::initializeConnection): + 2017-10-02 Ryosuke Niwa Move more code into PasteboardCustomData diff --git a/Source/WebKit/WebProcess/WebProcess.cpp b/Source/WebKit/WebProcess/WebProcess.cpp index 44eb8830fc0f..b7c136681ba4 100644 --- a/Source/WebKit/WebProcess/WebProcess.cpp +++ b/Source/WebKit/WebProcess/WebProcess.cpp @@ -216,7 +216,9 @@ void WebProcess::initializeConnection(IPC::Connection* connection) { ChildProcess::initializeConnection(connection); +#if !PLATFORM(GTK) && !PLATFORM(WPE) connection->setShouldExitOnSyncMessageSendFailure(true); +#endif #if HAVE(QOS_CLASSES) connection->setShouldBoostMainThreadOnSyncMessage(true);