aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangpchmanager/pchmanagerconnectionclient.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2018-02-08 15:12:00 +0100
committerMarco Bubke <marco.bubke@qt.io>2018-02-22 10:23:51 +0000
commit1a4c51d15f927984f62fea0a322919846e978906 (patch)
tree33cd5b0318d4f4b78b50a8397836ebcdced91c04 /src/plugins/clangpchmanager/pchmanagerconnectionclient.h
parent6922f549d58e777020586c9572a4bcee49a7b778 (diff)
Clang: Prevent segmentation fault in WriteMessageBlock
There could be already messages send before the backend is available. In that case we now record that messages and send them if the socket is set. Task-number: QTCREATORBUG-19761 Change-Id: I7c8d6fdb4fcc043bcdbb9e9aeb5752f89c24fdab Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/clangpchmanager/pchmanagerconnectionclient.h')
-rw-r--r--src/plugins/clangpchmanager/pchmanagerconnectionclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangpchmanager/pchmanagerconnectionclient.h b/src/plugins/clangpchmanager/pchmanagerconnectionclient.h
index 1566b08f47..672b6ef7cf 100644
--- a/src/plugins/clangpchmanager/pchmanagerconnectionclient.h
+++ b/src/plugins/clangpchmanager/pchmanagerconnectionclient.h
@@ -40,7 +40,7 @@ public:
protected:
void sendEndCommand() override;
- void resetCounter() override;
+ void resetState() override;
QString outputName() const override;
void newConnectedServer(QIODevice *ioDevice) override;