mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
chore - ES6, use for-of instead of forEach
This commit is contained in:
@@ -25,7 +25,7 @@ export class MainThreadFileSystem implements MainThreadFileSystemShape {
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
this._fileProvider.forEach(value => value.dispose());
|
||||
dispose(this._fileProvider.values());
|
||||
this._fileProvider.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user