From 40dc20ac1591e49d66460e59d2a1f1ce8a918678 Mon Sep 17 00:00:00 2001 From: dengwenjun Date: Wed, 23 Jul 2025 16:41:11 +0800 Subject: [PATCH] Fix multi-thread debugging bugs First close the debugger thread socket connection, and then recycle the related debugging resources Issue:https://gitee.com/openharmony/arkcompiler_toolchain/issues/ICOBBJ Signed-off-by: dengwenjun --- inspector/inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inspector/inspector.cpp b/inspector/inspector.cpp index 96182bf2..755ac392 100644 --- a/inspector/inspector.cpp +++ b/inspector/inspector.cpp @@ -442,8 +442,8 @@ void StopDebug(void* vm) if (debuggerInfo != g_debuggerInfo.end()) { g_debuggerInfo.erase(debuggerInfo); } - g_uninitializeDebugger(vm); ResetServiceLocked(vm, true); + g_uninitializeDebugger(vm); LOGI("StopDebug end"); } -- Gitee