Skip to content

Commit 67d0919

Browse files
authored
Remove await for WASM platform.callEntryPoint (#31997)
* Remove await for WASM `platform.callEntryPoint` Also added an E2E test. Addresses #31971 Insertion into preview 4: dotnet/aspnetcore#31978 * Update src/Components/test/E2ETest/Tests/StandaloneAppTest.cs
1 parent 356be02 commit 67d0919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Boot.WebAssembly.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async function boot(options?: Partial<WebAssemblyStartOptions>): Promise<void> {
119119
}
120120

121121
// Start up the application
122-
await platform.callEntryPoint(resourceLoader.bootConfig.entryAssembly);
122+
platform.callEntryPoint(resourceLoader.bootConfig.entryAssembly);
123123
}
124124

125125
function invokeJSFromDotNet(callInfo: Pointer, arg0: any, arg1: any, arg2: any): any {

0 commit comments

Comments
 (0)