diff --git a/src/scripting/vm/jit.cpp b/src/scripting/vm/jit.cpp index 74e14a80f2..1c46590481 100644 --- a/src/scripting/vm/jit.cpp +++ b/src/scripting/vm/jit.cpp @@ -75,6 +75,10 @@ void JitRelease() { asmjit::OSUtils::releaseVirtualMemory(p, 1024 * 1024); } + JitFrames.Clear(); + JitBlocks.Clear(); + JitBlockPos = 0; + JitBlockSize = 0; } static TArray CreateUnwindInfo(asmjit::CCFunc *func)