!7907 avoid multi-thread check

Merge pull request !7907 from fangting/master
This commit is contained in:
openharmony_ci 2024-06-27 09:01:33 +00:00 committed by Gitee
commit 24f2ea3363
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4190,7 +4190,6 @@ bool JSNApi::StoreDebugInfo([[maybe_unused]] int tid,
return false;
}
CROSS_THREAD_AND_EXCEPTION_CHECK_WITH_RETURN(vm, false);
JsDebuggerManager *jsDebuggerManager = vm->GetJsDebuggerManager();
const auto &handler = jsDebuggerManager->GetDebugLibraryHandle();
if (handler.IsValid()) {