Re-resolve webview views when extension host restarts

Fixes #108555

Previously webviews were left hanging when the extension host died. With this change, we now try to re-create them once the extension host restarts
This commit is contained in:
Matt Bierner
2020-10-19 19:00:08 -07:00
parent 5eb46b187c
commit a4a4cf5ace
4 changed files with 63 additions and 29 deletions

View File

@@ -128,9 +128,7 @@ export class MainThreadWebviewPanels extends Disposable implements extHostProtoc
dispose() {
super.dispose();
for (const disposable of this._editorProviders.values()) {
disposable.dispose();
}
dispose(this._editorProviders.values());
this._editorProviders.clear();
}