提交 ca923a5e 编写于 作者: C Christof Marti

Implement oncancel (fixes #27638)

上级 717c93ae
......@@ -229,6 +229,10 @@ export class OpenAnythingHandler extends QuickOpenHandler {
this.pendingSearch = null;
this.messageService.show(Severity.Error, error);
});
}, () => {
resultPromises.forEach(resultPromise => {
resultPromise.cancel();
});
});
return this.pendingSearch;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册