LanguageClient: Track quick fix assist processor

Same as for the completion and function hint processor, these processors
need to be tracked so they get cleaned up on client destruction.

Change-Id: Ib24eb8c652e7a44d8b79e1edddda9ad659d145a3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2022-05-13 13:59:55 +02:00
parent 17982e661c
commit 1bfd5da024

View File

@@ -117,6 +117,7 @@ IAssistProposal *LanguageClientQuickFixAssistProcessor::perform(const AssistInte
handleCodeActionResponse(response); handleCodeActionResponse(response);
}); });
m_client->addAssistProcessor(this);
m_client->requestCodeActions(request); m_client->requestCodeActions(request);
m_currentRequest = request.id(); m_currentRequest = request.id();
return nullptr; return nullptr;