forked from qt-creator/qt-creator
ClangCodeModel: Use clangd for completion and function hint
Change-Id: I80160f3a40da18ac178682afe6caba5e5af6e3eb Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -218,10 +218,12 @@ void LanguageClientManager::deleteClient(Client *client)
|
||||
managerInstance->m_clients.removeAll(client);
|
||||
for (QVector<Client *> &clients : managerInstance->m_clientsForSetting)
|
||||
clients.removeAll(client);
|
||||
if (managerInstance->m_shuttingDown)
|
||||
if (managerInstance->m_shuttingDown) {
|
||||
delete client;
|
||||
else
|
||||
} else {
|
||||
client->deleteLater();
|
||||
emit instance()->clientRemoved(client);
|
||||
}
|
||||
}
|
||||
|
||||
void LanguageClientManager::shutdown()
|
||||
|
||||
Reference in New Issue
Block a user