11import * as os from 'os' ;
22import { Version } from '../common/version' ;
33import { GUAService } from './guaService' ;
4- import { TelerikAnalyticsService } from './telerikAnalyticsService' ;
54import { AnalyticsBaseInfo , OperatingSystem } from './analyticsBaseInfo' ;
65import { Services } from '../services/extensionHostServices' ;
76import * as utils from '../common/utilities' ;
@@ -15,7 +14,6 @@ export class AnalyticsService {
1514 private _globalState : vscode . Memento ;
1615 private _baseInfo : AnalyticsBaseInfo ;
1716 private _gua : GUAService ;
18- private _ta : TelerikAnalyticsService ;
1917 private _analyticsEnabled : boolean ;
2018 private disposables : vscode . Disposable [ ] = [ ] ;
2119
@@ -53,24 +51,20 @@ export class AnalyticsService {
5351 public launchDebugger ( request : string , platform : string ) : Promise < any > {
5452 if ( this . _analyticsEnabled ) {
5553 try {
56- return Promise . all ( [
57- this . _gua . launchDebugger ( request , platform ) ,
58- this . _ta . launchDebugger ( request , platform )
59- ] ) ;
54+ return this . _gua . launchDebugger ( request , platform ) ;
6055 } catch ( e ) { }
6156 }
57+
6258 return Promise . resolve ( ) ;
6359 }
6460
6561 public runRunCommand ( platform : string ) : Promise < any > {
6662 if ( this . _analyticsEnabled ) {
6763 try {
68- return Promise . all ( [
69- this . _gua . runRunCommand ( platform ) ,
70- this . _ta . runRunCommand ( platform )
71- ] ) ;
64+ return this . _gua . runRunCommand ( platform ) ;
7265 } catch ( e ) { }
7366 }
67+
7468 return Promise . resolve ( ) ;
7569 }
7670
@@ -113,7 +107,6 @@ export class AnalyticsService {
113107
114108 if ( this . _analyticsEnabled ) {
115109 this . _gua = this . _gua || new GUAService ( 'UA-111455-29' , this . _baseInfo ) ;
116- this . _ta = this . _ta || new TelerikAnalyticsService ( 'b8b2e51f188f43e9b0dfb899f7b71cc6' , this . _baseInfo ) ;
117110 }
118111 }
119112}
0 commit comments