mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Clear this._fileWatchersBySrc
This commit is contained in:
@@ -217,11 +217,14 @@ class MarkdownPreview extends Disposable implements WebviewResourceProvider {
|
||||
|
||||
override dispose() {
|
||||
super.dispose();
|
||||
|
||||
this._disposed = true;
|
||||
|
||||
clearTimeout(this.throttleTimer);
|
||||
for (const entry of this._fileWatchersBySrc.values()) {
|
||||
entry.dispose();
|
||||
}
|
||||
this._fileWatchersBySrc.clear();
|
||||
}
|
||||
|
||||
public get resource(): vscode.Uri {
|
||||
|
||||
Reference in New Issue
Block a user