mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +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 {
|
||||
console.log('try inter');
|
||||
if (!this.pendingGetErr) {
|
||||
return f();
|
||||
}
|
||||
// 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;
|
||||
// this.pendingGetErr.cancel();
|
||||
// this.pendingGetErr = undefined;
|
||||
// const result = f();
|
||||
// this.triggerDiagnostics();
|
||||
// return result;
|
||||
}
|
||||
|
||||
private onDidCloseTextDocument(document: vscode.TextDocument): void {
|
||||
|
||||
Reference in New Issue
Block a user