Clang: test if the ipcClientProxy is set before sending an alive message

A crash can be happen if the back end is slow like a debug build on
windows.

Change-Id: I7352ef2732d29ac60bb0c6d9906c10b7ebefa262
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Tim Jenssen
2016-08-31 10:00:40 +02:00
parent 3f8c622caa
commit d4fe89a9dd

View File

@@ -106,7 +106,8 @@ private:
void sendAliveMessage()
{
ipcClientProxy->alive();
if (ipcClientProxy)
ipcClientProxy->alive();
}
void handleSocketDisconnect()