@@ -30,7 +30,6 @@ import ErrorTelemetry from 'vs/platform/telemetry/browser/errorTelemetry';
3030import { ElectronWindow } from 'vs/workbench/electron-browser/window' ;
3131import { resolveWorkbenchCommonProperties , getOrCreateMachineId } from 'vs/platform/telemetry/node/workbenchCommonProperties' ;
3232import { machineIdIpcChannel } from 'vs/platform/telemetry/node/commonProperties' ;
33- import { WorkspaceStats } from 'vs/workbench/services/telemetry/node/workspaceStats' ;
3433import { IWindowsService , IWindowService , IWindowConfiguration } from 'vs/platform/windows/common/windows' ;
3534import { WindowService } from 'vs/platform/windows/electron-browser/windowService' ;
3635import { MessageService } from 'vs/workbench/services/message/electron-browser/messageService' ;
@@ -249,11 +248,6 @@ export class WorkbenchShell {
249248 this . telemetryService . publicLog ( 'startupTime' , this . timerService . startupMetrics ) ;
250249 } ) ;
251250
252- // Telemetry: workspace tags
253- const workspaceStats : WorkspaceStats = < WorkspaceStats > this . workbench . getInstantiationService ( ) . createInstance ( WorkspaceStats ) ;
254- workspaceStats . reportWorkspaceTags ( this . configuration ) ;
255- workspaceStats . reportCloudStats ( ) ;
256-
257251 // Root Warning
258252 if ( ( platform . isLinux || platform . isMacintosh ) && process . getuid ( ) === 0 ) {
259253 this . messageService . show ( Severity . Warning , nls . localize ( 'runningAsRoot' , "It is recommended not to run Code as 'root'." ) ) ;
@@ -285,7 +279,7 @@ export class WorkbenchShell {
285279 this . broadcastService = new BroadcastService ( currentWindow . id ) ;
286280 serviceCollection . set ( IBroadcastService , this . broadcastService ) ;
287281
288- serviceCollection . set ( IWindowService , new SyncDescriptor ( WindowService , currentWindow . id ) ) ;
282+ serviceCollection . set ( IWindowService , new SyncDescriptor ( WindowService , currentWindow . id , this . configuration ) ) ;
289283
290284 const sharedProcess = ( < IWindowsService > serviceCollection . get ( IWindowsService ) ) . whenSharedProcessReady ( )
291285 . then ( ( ) => connectNet ( this . environmentService . sharedIPCHandle , `window:${ currentWindow . id } ` ) ) ;
0 commit comments