Add more explict message queue for webviews while they are loading

This commit is contained in:
Matt Bierner
2020-06-11 18:24:41 -07:00
parent 4933ceede3
commit 5f3e2078a3
9 changed files with 46 additions and 26 deletions

View File

@@ -135,7 +135,7 @@ export class MainThreadEditorInsets implements MainThreadEditorInsetsShape {
async $postMessage(handle: number, value: any): Promise<boolean> {
const inset = this.getInset(handle);
inset.webview.sendMessage(value);
inset.webview.postMessage(value);
return true;
}