From bef5b953b2e8800502cc87306a678f0373036cfb Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 25 Nov 2018 23:28:14 +0100 Subject: [PATCH] - free everything. --- src/scripting/vm/jit.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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)