@@ -90,7 +90,7 @@ interface IRuntimeExtension {
9090 description : IExtensionDescription ;
9191 marketplaceInfo : IExtension ;
9292 status : IExtensionsStatus ;
93- profileInfo : IExtensionProfileInformation ;
93+ profileInfo ? : IExtensionProfileInformation ;
9494 unresponsiveProfile ?: IExtensionHostProfile ;
9595}
9696
@@ -214,7 +214,7 @@ export class RuntimeExtensionsEditor extends BaseEditor {
214214 description : extensionDescription ,
215215 marketplaceInfo : marketplaceMap [ ExtensionIdentifier . toKey ( extensionDescription . identifier ) ] ,
216216 status : statusMap [ extensionDescription . identifier . value ] ,
217- profileInfo : profileInfo ,
217+ profileInfo : profileInfo || undefined ,
218218 unresponsiveProfile : this . _extensionHostProfileService . getUnresponsiveProfile ( extensionDescription . identifier )
219219 } ;
220220 }
@@ -402,7 +402,7 @@ export class RuntimeExtensionsEditor extends BaseEditor {
402402 horizontalScrolling : false
403403 } ) as WorkbenchList < IRuntimeExtension > ;
404404
405- this . _list . splice ( 0 , this . _list . length , this . _elements ) ;
405+ this . _list . splice ( 0 , this . _list . length , this . _elements || undefined ) ;
406406
407407 this . _list . onContextMenu ( ( e ) => {
408408 if ( ! e . element ) {
@@ -579,7 +579,7 @@ export class DebugExtensionHostAction extends Action {
579579 }
580580 }
581581
582- return this . _debugService . startDebugging ( null , {
582+ return this . _debugService . startDebugging ( undefined , {
583583 type : 'node' ,
584584 name : nls . localize ( 'debugExtensionHost.launch.name' , "Attach Extension Host" ) ,
585585 request : 'attach' ,
0 commit comments