mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-05 04:04:10 +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