提交 8e35b427 编写于 作者: M Matt Bierner

Disable interuptGetErr until next release. Needs more testing

上级 0edee5d2
......@@ -266,16 +266,17 @@ export default class BufferSyncSupport extends Disposable {
}
public interuptGetErr<R>(f: () => R): R {
console.log('try inter');
if (!this.pendingGetErr) {
return f();
}
this.pendingGetErr.cancel();
this.pendingGetErr = undefined;
const result = f();
this.triggerDiagnostics();
return result;
// TODO: re-enable for 1.27 insiders
return f();
// if (!this.pendingGetErr) {
// return f();
// }
// this.pendingGetErr.cancel();
// this.pendingGetErr = undefined;
// const result = f();
// this.triggerDiagnostics();
// return result;
}
private onDidCloseTextDocument(document: vscode.TextDocument): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册