提交 54e21006 编写于 作者: J Johannes Rieken

cancel request on clear, fixes #5100

上级 dc92aa11
......@@ -128,9 +128,13 @@ export class FindReferencesController implements editorCommon.IEditorContributio
this._widget.show(range, 18);
this._callOnClear.push(this._widget.onDidClose(() => {
this._widget = null;
referencesPromise.cancel();
this.clear();
}).dispose);
this._callOnClear.push(() => {
referencesPromise.cancel();
});
this._callOnClear.push(this._widget.onDidDoubleClick(event => {
if(!event.reference) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册