forked from qt-creator/qt-creator
LanguageClient: Do not send initializing request twice
Amends dc268e3157
.
Change-Id: I6ca81ec336f09c02b26f47b5e00bebbc54882ed6
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -312,7 +312,6 @@ void Client::initialize()
|
|||||||
|
|
||||||
// directly send message otherwise the state check of sendContent would fail
|
// directly send message otherwise the state check of sendContent would fail
|
||||||
sendMessage(initRequest.toBaseMessage());
|
sendMessage(initRequest.toBaseMessage());
|
||||||
m_clientInterface->sendMessage(initRequest.toBaseMessage());
|
|
||||||
m_state = InitializeRequested;
|
m_state = InitializeRequested;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user