Skip to content

Commit

Permalink
Merge pull request #198 from fabulous-dev/net-8-wasm-await-not-working
Browse files Browse the repository at this point in the history
Replace runMainAndExit with runMain
  • Loading branch information
edgarfgp authored Jan 1, 2024
2 parents dff1b4f + 5d3628e commit e26ed26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/content/multi/NewApp.Browser/AppBundle/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ const dotnetRuntime = await dotnet

const config = dotnetRuntime.getConfig();

await dotnetRuntime.runMainAndExit(config.mainAssemblyName, [globalThis.location.href]);
await dotnetRuntime.runMain(config.mainAssemblyName, [globalThis.location.href]);

0 comments on commit e26ed26

Please sign in to comment.