Skip to content

Commit d18da64

Browse files
committed
stack balance
1 parent 8b8ba4a commit d18da64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

emmy_core/emmy_debugger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ bool Debugger::DoEval(EvalContext* evalContext) {
737737
if (r == LUA_OK) {
738738
evalContext->result.name = evalContext->expr;
739739
GetVariable(&evalContext->result, L, -1, evalContext->depth);
740+
lua_pop(L, 1);
740741
return true;
741742
}
742743
if (r == LUA_ERRRUN) {

0 commit comments

Comments
 (0)