mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-24 01:41:17 +00:00
Currently, if a thread is spawned and raises an exception after the main thread has finished, iwasm returns with success instead of returning 1 (i.e. error). Since wasm_runtime_get_wasi_exit_code waits for all threads to finish and only returns the wasi exit code, this PR performs the exception check again and returns error if an exception was raised. |
||
|---|---|---|
| .. | ||
| alios-things | ||
| android | ||
| darwin | ||
| esp-idf | ||
| freebsd | ||
| ios | ||
| linux | ||
| linux-sgx | ||
| nuttx | ||
| posix | ||
| riot | ||
| rt-thread | ||
| vxworks | ||
| windows | ||
| zephyr/simple | ||