From ac8ebc6c3a56064f88f5506e5e3783ab7bee2456 Mon Sep 17 00:00:00 2001 From: Konstantin Tokarev Date: Tue, 22 Sep 2020 14:30:04 +0300 Subject: Enable QML tests Change-Id: I10968ff39311aac6af328e5f13e316dbfc3c7a1e Reviewed-by: Konstantin Tokarev --- Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp') diff --git a/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp b/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp index 3902003f9..7280c56d9 100644 --- a/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp +++ b/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp @@ -368,6 +368,10 @@ static ssize_t readBytesFromSocket(int socketDescriptor, Vector& buffer void Connection::readyReadHandler() { #if PLATFORM(QT) + if (!m_socketNotifier) { + WTFLogAlways("Error receiving IPC message on socket %d in process %d: m_socketNotifier is null", m_socketDescriptor, getpid()); + return; + } SocketNotifierResourceGuard socketNotifierEnabler(m_socketNotifier); #endif -- cgit v1.2.3