Przeglądaj źródła

debug-engine: Use default stack size for control thread (#1424)

YAMAMOTO Takashi 3 lat temu
rodzic
commit
1985a251cd

+ 1 - 1
core/iwasm/libraries/debug-engine/debug_engine.c

@@ -200,7 +200,7 @@ wasm_debug_control_thread_create(WASMDebugInstance *debug_instance, int32 port)
 
 
     if (0
     if (0
         != os_thread_create(&control_thread->tid, control_thread_routine,
         != os_thread_create(&control_thread->tid, control_thread_routine,
-                            debug_instance, APP_THREAD_STACK_SIZE_MAX)) {
+                            debug_instance, APP_THREAD_STACK_SIZE_DEFAULT)) {
         os_mutex_unlock(&debug_instance->wait_lock);
         os_mutex_unlock(&debug_instance->wait_lock);
         goto fail1;
         goto fail1;
     }
     }