Enrico Loparco
71d43f3ca1
Return error when exception was raised after main thread finishes ( #2169 )
...
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.
2023-05-05 09:20:05 +08:00
..
2023-04-08 19:07:20 +08:00
2023-03-26 09:03:26 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-26 09:03:26 +08:00
2023-04-08 19:07:20 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-09 09:03:16 +08:00
2023-03-26 09:03:26 +08:00
2023-05-05 09:20:05 +08:00
2023-05-05 09:20:05 +08:00
2023-03-15 07:47:36 +08:00