LanguageClient: clear running progress when resetting client

Otherwise we will have dangling progress bars after a crashed server was
restarted.

Change-Id: I889d201d7cf196623978638db67397203a8f4564
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-06-03 09:10:10 +02:00
parent d632b3eb4f
commit dc0b2c8b47
3 changed files with 10 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ public:
void handleProgress(const LanguageServerProtocol::ProgressParams &params);
void setTitleForToken(const LanguageServerProtocol::ProgressToken &token,
const QString &message);
void reset();
static bool isProgressEndMessage(const LanguageServerProtocol::ProgressParams &params);