forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -71,9 +71,9 @@ void RefactoringConnectionClient::sendEndCommand()
|
||||
m_serverProxy.end();
|
||||
}
|
||||
|
||||
void RefactoringConnectionClient::resetCounter()
|
||||
void RefactoringConnectionClient::resetState()
|
||||
{
|
||||
m_serverProxy.resetCounter();
|
||||
m_serverProxy.resetState();
|
||||
}
|
||||
|
||||
QString RefactoringConnectionClient::outputName() const
|
||||
|
||||
Reference in New Issue
Block a user