diff options
Diffstat (limited to 'src/vs/workbench/api/browser/mainThreadWebviews.ts')
-rw-r--r-- | src/vs/workbench/api/browser/mainThreadWebviews.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vs/workbench/api/browser/mainThreadWebviews.ts b/src/vs/workbench/api/browser/mainThreadWebviews.ts index 15e71145210..ef088e5c054 100644 --- a/src/vs/workbench/api/browser/mainThreadWebviews.ts +++ b/src/vs/workbench/api/browser/mainThreadWebviews.ts @@ -65,8 +65,7 @@ export class MainThreadWebviews extends Disposable implements extHostProtocol.Ma public async $postMessage(handle: extHostProtocol.WebviewHandle, jsonMessage: string, ...buffers: VSBuffer[]): Promise<boolean> { const webview = this.getWebview(handle); const { message, arrayBuffers } = deserializeWebviewMessage(jsonMessage, buffers); - webview.postMessage(message, arrayBuffers); - return true; + return webview.postMessage(message, arrayBuffers); } private hookupWebviewEventDelegate(handle: extHostProtocol.WebviewHandle, webview: IOverlayWebview, options: { serializeBuffersForPostMessage: boolean }) { |