mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 13:16:26 +00:00
Fix bug of destroy_callback_list not cleared when thread mgr destroy (#844)
The destroy_callback_list variable in thread_manager_destroy is not cleared. When wamr is started as a task, after exiting and restarting, it will loop endlessly in traverse_list. Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
This commit is contained in:
parent
1dccf39d16
commit
e64b6e8120
|
@ -240,6 +240,7 @@ void
|
|||
wasm_cluster_cancel_all_callbacks()
|
||||
{
|
||||
traverse_list(destroy_callback_list, free_node_visitor, NULL);
|
||||
bh_list_init(destroy_callback_list);
|
||||
}
|
||||
|
||||
WASMCluster *
|
||||
|
|
Loading…
Reference in New Issue
Block a user