Make sure exthost has same id for webview as main thread

This commit is contained in:
Matt Bierner
2019-09-19 10:31:28 -07:00
parent 1588f08724
commit ad1cb1f661

View File

@@ -207,7 +207,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews
return;
}
const handle = generateUuid();
const handle = webviewEditorInput.id;
this._webviewEditorInputs.add(handle, webviewEditorInput);
this.hookupWebviewEventDelegate(handle, webviewEditorInput);