mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 17:18:13 +01:00
@@ -157,11 +157,10 @@ export class Delayer<T> {
|
||||
}).then(() => {
|
||||
this.completionPromise = null;
|
||||
this.onSuccess = null;
|
||||
|
||||
const result = this.task();
|
||||
const task = this.task;
|
||||
this.task = null;
|
||||
|
||||
return result;
|
||||
return task();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user