Skip to content

Commit

Permalink
[GTK][WPE] WebProcess should run cleanup on quit to release resources
Browse files Browse the repository at this point in the history
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
  • Loading branch information
carlosgcampos committed Oct 3, 2017
1 parent e8b93ca commit 030b546
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Source/WebKit/ChangeLog
@@ -1,3 +1,15 @@
2017-10-03 Carlos Garcia Campos <cgarcia@igalia.com>

[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 <rniwa@webkit.org>

Move more code into PasteboardCustomData
Expand Down
2 changes: 2 additions & 0 deletions Source/WebKit/WebProcess/WebProcess.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 030b546

Please sign in to comment.