Skip to content

Commit

Permalink
Merge pull request #67 from heanrum/master
Browse files Browse the repository at this point in the history
修复了eval expr返回错误时导致的栈异常
  • Loading branch information
CppCXY authored Jun 14, 2024
2 parents b160eeb + 0c11afd commit 6f8bf46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emmy_debugger/src/debugger/emmy_debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ bool Debugger::DoEval(std::shared_ptr<EvalContext> evalContext) {
evalContext->error = lua_tostring(L, -1);
}

lua_pop(L, 1);
return false;
}

Expand Down

0 comments on commit 6f8bf46

Please sign in to comment.