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>
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>