forked from qt-creator/qt-creator
LanguageClient: do not accumulate response handler
Change-Id: Icf297ddf09bb64aea1d50fb24efa231df01eaed1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1646,7 +1646,7 @@ void ClientPrivate::sendPostponedDocumentUpdates(Schedule semanticTokensSchedule
|
|||||||
|
|
||||||
void ClientPrivate::handleResponse(const MessageId &id, const JsonRpcMessage &message)
|
void ClientPrivate::handleResponse(const MessageId &id, const JsonRpcMessage &message)
|
||||||
{
|
{
|
||||||
if (auto handler = m_responseHandlers[id])
|
if (auto handler = m_responseHandlers.take(id))
|
||||||
handler(message);
|
handler(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user