diff --git a/core/iwasm/aot/aot_runtime.h b/core/iwasm/aot/aot_runtime.h index 5fc3144f35..22d585892a 100644 --- a/core/iwasm/aot/aot_runtime.h +++ b/core/iwasm/aot/aot_runtime.h @@ -197,8 +197,7 @@ typedef struct AOTModule { uint8 *literal; uint32 literal_size; -#if (defined(BUILD_TARGET_X86_64) || defined(BUILD_TARGET_AMD_64)) \ - && defined(BH_PLATFORM_WINDOWS) +#if defined(BH_PLATFORM_WINDOWS) /* extra plt data area for __xmm and __real constants in Windows platform, NULL for JIT mode */ uint8 *extra_plt_data; diff --git a/core/iwasm/libraries/thread-mgr/thread_manager.c b/core/iwasm/libraries/thread-mgr/thread_manager.c index 2c1f3e6c74..87a24bef08 100644 --- a/core/iwasm/libraries/thread-mgr/thread_manager.c +++ b/core/iwasm/libraries/thread-mgr/thread_manager.c @@ -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 *