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,6 +106,7 @@ private:
void sendAliveMessage() void sendAliveMessage()
{ {
if (ipcClientProxy)
ipcClientProxy->alive(); ipcClientProxy->alive();
} }