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 {
23
23
private defaultClient : cpptools . Client ;
24
24
private activeClient : cpptools . Client ;
25
25
private activeDocument ?: vscode . TextDocument ;
26
- public timeTelemetryCollector : TimeTelemetryCollector ;
26
+ public timeTelemetryCollector : TimeTelemetryCollector = new TimeTelemetryCollector ( ) ;
27
27
28
28
public get ActiveClient ( ) : cpptools . Client { return this . activeClient ; }
29
29
public get Names ( ) : ClientKey [ ] {
@@ -62,8 +62,6 @@ export class ClientCollection {
62
62
63
63
this . disposables . push ( vscode . workspace . onDidChangeWorkspaceFolders ( e => this . onDidChangeWorkspaceFolders ( e ) ) ) ;
64
64
this . disposables . push ( vscode . workspace . onDidCloseTextDocument ( d => this . onDidCloseTextDocument ( d ) ) ) ;
65
-
66
- this . timeTelemetryCollector = new TimeTelemetryCollector ( ) ;
67
65
}
68
66
69
67
public activeDocumentChanged ( document : vscode . TextDocument ) : void {
You can’t perform that action at this time.
0 commit comments