- free everything.

This commit is contained in:
Christoph Oelckers 2018-11-25 23:28:14 +01:00
parent 34a1c8e545
commit bef5b953b2
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ void JitRelease()
{ {
asmjit::OSUtils::releaseVirtualMemory(p, 1024 * 1024); asmjit::OSUtils::releaseVirtualMemory(p, 1024 * 1024);
} }
JitFrames.Clear();
JitBlocks.Clear();
JitBlockPos = 0;
JitBlockSize = 0;
} }
static TArray<uint16_t> CreateUnwindInfo(asmjit::CCFunc *func) static TArray<uint16_t> CreateUnwindInfo(asmjit::CCFunc *func)