mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Disable interuptGetErr until next release. Needs more testing
This commit is contained in:
@@ -266,16 +266,17 @@ export default class BufferSyncSupport extends Disposable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public interuptGetErr<R>(f: () => R): R {
|
public interuptGetErr<R>(f: () => R): R {
|
||||||
console.log('try inter');
|
// TODO: re-enable for 1.27 insiders
|
||||||
if (!this.pendingGetErr) {
|
return f();
|
||||||
return f();
|
// if (!this.pendingGetErr) {
|
||||||
}
|
// return f();
|
||||||
|
// }
|
||||||
|
|
||||||
this.pendingGetErr.cancel();
|
// this.pendingGetErr.cancel();
|
||||||
this.pendingGetErr = undefined;
|
// this.pendingGetErr = undefined;
|
||||||
const result = f();
|
// const result = f();
|
||||||
this.triggerDiagnostics();
|
// this.triggerDiagnostics();
|
||||||
return result;
|
// return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private onDidCloseTextDocument(document: vscode.TextDocument): void {
|
private onDidCloseTextDocument(document: vscode.TextDocument): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user