forked from qt-creator/qt-creator
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:
@@ -106,7 +106,8 @@ private:
|
||||
|
||||
void sendAliveMessage()
|
||||
{
|
||||
ipcClientProxy->alive();
|
||||
if (ipcClientProxy)
|
||||
ipcClientProxy->alive();
|
||||
}
|
||||
|
||||
void handleSocketDisconnect()
|
||||
|
||||
Reference in New Issue
Block a user