Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1a26463

Browse files
authored
Move initialization of TimeTelemetryCollector (microsoft#6984)
1 parent71a1005 commit1a26463

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎Extension/src/LanguageServer/clientCollection.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ClientCollection {
2323
privatedefaultClient:cpptools.Client;
2424
privateactiveClient:cpptools.Client;
2525
privateactiveDocument?:vscode.TextDocument;
26-
publictimeTelemetryCollector:TimeTelemetryCollector;
26+
publictimeTelemetryCollector:TimeTelemetryCollector=newTimeTelemetryCollector();
2727

2828
publicgetActiveClient():cpptools.Client{returnthis.activeClient;}
2929
publicgetNames():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=newTimeTelemetryCollector();
6765
}
6866

6967
publicactiveDocumentChanged(document:vscode.TextDocument):void{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp