From 41071361512f083f1cc09f2112aa721d8f12e242 Mon Sep 17 00:00:00 2001 From: chuning1988 Date: Tue, 12 Aug 2025 16:46:02 +0800 Subject: [PATCH] Add jit thread context to blue from yellow zone Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICSD30 Description: Add jit thread context to blue from yellow zone Change-Id: I1b47e35aec7dbe74f3b73604755ee1c294a05d9e Signed-off-by: chuning1988 --- ecmascript/jit/jit_thread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ecmascript/jit/jit_thread.cpp b/ecmascript/jit/jit_thread.cpp index 5db604a2c8..c8da88f7c6 100644 --- a/ecmascript/jit/jit_thread.cpp +++ b/ecmascript/jit/jit_thread.cpp @@ -53,13 +53,12 @@ JitVM *JitVM::Create() JitVM::~JitVM() { + jitThread_ = nullptr; } void JitVM::Destroy(EcmaVM *compilerVm) { JitVM *jitVM = static_cast(compilerVm); - delete jitVM->jitThread_; - jitVM->jitThread_ = nullptr; delete jitVM; } -- Gitee