未验证 提交 704c739c 编写于 作者: S Simon Rozsival 提交者: GitHub

[wasm-mt] Log exit codes in browser samples to prevent tests from timeouting (#74637)

* Update browser-thread sample

* Update the browser-eventpipe sample

* Fix wasm_exit

* Revert eventpipe sample changes that didn't resolve the problem

* Use new JS api

* Try to use the new API also for the eventpipe sample

* Revert "Try to use the new API also for the eventpipe sample"

This reverts commit 9a10dc4abefcb7a27314be8349b3b93fcc00c3f7.
上级 c96f5047
......@@ -54,6 +54,8 @@ try {
const inputElement = document.getElementById("inputN");
const { setModuleImports, getAssemblyExports, runMain } = await dotnet
.withEnvironmentVariable("MONO_LOG_LEVEL", "debug")
.withElementOnExit()
.withExitCodeLogging()
.create();
setModuleImports("main.js", {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册