File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ export class HttpClient implements Server.IHttpClient {
1515 // We receive multiple response packets every ms but we don't need to be very aggressive here.
1616 private static STUCK_RESPONSE_CHECK_INTERVAL = 10000 ;
1717
18- private defaultUserAgent : string ;
19- private cleanupData : ICleanupRequestData [ ] ;
18+ private defaultUserAgent : string ;
2019
2120 constructor ( private $logger : ILogger ,
2221 private $proxyService : IProxyService ,
2322 private $staticConfig : Config . IStaticConfig ) {
24- this . cleanupData = [ ] ;
2523 }
2624
2725 public async httpRequest ( options : any , proxySettings ?: IProxySettings ) : Promise < Server . IResponse > {
@@ -101,7 +99,6 @@ export class HttpClient implements Server.IHttpClient {
10199 const result = new Promise < Server . IResponse > ( ( resolve , reject ) => {
102100 let timerId : NodeJS . Timer ;
103101 const cleanupRequestData : ICleanupRequestData = Object . create ( { timers : [ ] } ) ;
104- this . cleanupData . push ( cleanupRequestData ) ;
105102
106103 const promiseActions : IPromiseActions < Server . IResponse > = {
107104 resolve,
You can’t perform that action at this time.
0 commit comments