mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Cleanup redundant code
This commit is contained in:
@@ -87,7 +87,7 @@ export class ExtensionMemento implements vscode.Memento {
|
||||
}
|
||||
|
||||
this._timeout = setTimeout(() => {
|
||||
const records = { ...this._promiseRecords };
|
||||
const records = this._promiseRecords;
|
||||
this._promiseRecords = {};
|
||||
(async () => {
|
||||
try {
|
||||
@@ -101,7 +101,6 @@ export class ExtensionMemento implements vscode.Memento {
|
||||
}
|
||||
}
|
||||
})();
|
||||
this._promiseRecords = {};
|
||||
}, 0);
|
||||
|
||||
return promise;
|
||||
|
||||
Reference in New Issue
Block a user