Skip to content

Commit

Permalink
- fixed leaking full VM frames
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Jun 20, 2020
1 parent da04616 commit 04992f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/scripting/jit/jit.cpp
Expand Up @@ -390,7 +390,7 @@ static void PopFullVMFrame(VMFrameStack *stack)

void JitCompiler::EmitPopFrame()
{
if (sfunc->SpecialInits.Size() != 0 || sfunc->NumRegS != 0)
if (sfunc->SpecialInits.Size() != 0 || sfunc->NumRegS != 0 || sfunc->ExtraSpace != 0)
{
auto popFrame = CreateCall<void, VMFrameStack *>(PopFullVMFrame);
popFrame->setArg(0, stack);
Expand Down

0 comments on commit 04992f2

Please sign in to comment.