提交 b845a937 编写于 作者: B Benjamin Pasero

close picker when promise input errors

上级 e22834e3
......@@ -363,7 +363,11 @@ export class QuickOpenController extends WorkbenchComponent implements IQuickOpe
} else {
this.pickOpenWidget.setInput(model, autoFocus);
}
}, error);
}, (err) => {
this.pickOpenWidget.hide();
error(err);
});
// Progress if task takes a long time
Promise.timeout(800).then(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册