mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-11 16:35:33 +00:00
freertos: Thread exit more common (#3094)
In native side, even not call `os_thread_exit` at end of thread code, can also exit correctly.
This commit is contained in:
parent
99bbad8cdb
commit
83c3ef0f46
|
@ -204,7 +204,7 @@ os_thread_wrapper(void *arg)
|
|||
thread_data_list_add(thread_data);
|
||||
|
||||
thread_data->start_routine(thread_data->arg);
|
||||
os_thread_cleanup();
|
||||
os_thread_exit(NULL);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue
Block a user