File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class ClientCollection {
2323 private defaultClient : cpptools . Client ;
2424 private activeClient : cpptools . Client ;
2525 private activeDocument ?: vscode . TextDocument ;
26- public timeTelemetryCollector : TimeTelemetryCollector ;
26+ public timeTelemetryCollector : TimeTelemetryCollector = new TimeTelemetryCollector ( ) ;
2727
2828 public get ActiveClient ( ) : cpptools . Client { return this . activeClient ; }
2929 public get Names ( ) : ClientKey [ ] {
@@ -62,8 +62,6 @@ export class ClientCollection {
6262
6363 this . disposables . push ( vscode . workspace . onDidChangeWorkspaceFolders ( e => this . onDidChangeWorkspaceFolders ( e ) ) ) ;
6464 this . disposables . push ( vscode . workspace . onDidCloseTextDocument ( d => this . onDidCloseTextDocument ( d ) ) ) ;
65-
66- this . timeTelemetryCollector = new TimeTelemetryCollector ( ) ;
6765 }
6866
6967 public activeDocumentChanged ( document : vscode . TextDocument ) : void {
You can’t perform that action at this time.
0 commit comments