LanguageClient: forcefully delete client after timeout

If the client does not react within 20 seconds on the shutdown or exit
message delete the client.

Task-number: QTCREATORBUG-27064
Change-Id: I9680242e471989ea820c4e28d28c500c27a20bb7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2022-02-22 07:42:54 +01:00
parent ad9365d8fd
commit 05e102fbac
2 changed files with 9 additions and 0 deletions

View File

@@ -305,6 +305,7 @@ private:
LogTarget m_logTarget = LogTarget::Ui;
bool m_locatorsEnabled = true;
bool m_autoRequestCodeActions = true;
QTimer m_shutdownTimer;
};
} // namespace LanguageClient