workbench: setPanelHidden returns a promise

This commit is contained in:
isidor
2017-01-10 11:52:45 +01:00
parent de712b90d3
commit eecfb293f7
8 changed files with 47 additions and 51 deletions

View File

@@ -53,7 +53,7 @@ export class MainThreadOutputService extends MainThreadOutputServiceShape {
public $close(channelId: string): TPromise<void> {
const panel = this._panelService.getActivePanel();
if (panel && panel.getId() === OUTPUT_PANEL_ID && channelId === this._outputService.getActiveChannel().id) {
this._partService.setPanelHidden(true);
return this._partService.setPanelHidden(true);
}
return undefined;