Skip to content

Commit

Permalink
[typescript] avoid activation on startup if there is no other activat…
Browse files Browse the repository at this point in the history
…ion event

Fixes #6163

Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
  • Loading branch information
AlexTugarev committed Sep 11, 2019
1 parent c9a6216 commit b725c1b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ export abstract class BaseLanguageClientContribution implements LanguageClientCo
}

restart(): void {
if (!this.running) {
return;
}
this.deactivate();
this.activate();
}
Expand Down

0 comments on commit b725c1b

Please sign in to comment.