From b283cb2b404ac3a17c15e87877b6833ddc456bca Mon Sep 17 00:00:00 2001 From: Tanay Parikh Date: Tue, 20 Apr 2021 08:54:23 -0700 Subject: [PATCH] Remove await for WASM `platform.callEntryPoint` For: https://github.com/dotnet/aspnetcore/issues/31971 --- src/Components/Web.JS/src/Boot.WebAssembly.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Web.JS/src/Boot.WebAssembly.ts b/src/Components/Web.JS/src/Boot.WebAssembly.ts index 102bbd830b36..5fd2f2bffc46 100644 --- a/src/Components/Web.JS/src/Boot.WebAssembly.ts +++ b/src/Components/Web.JS/src/Boot.WebAssembly.ts @@ -119,7 +119,7 @@ async function boot(options?: Partial): Promise { } // Start up the application - await platform.callEntryPoint(resourceLoader.bootConfig.entryAssembly); + platform.callEntryPoint(resourceLoader.bootConfig.entryAssembly); } function invokeJSFromDotNet(callInfo: Pointer, arg0: any, arg1: any, arg2: any): any {