Skip to content

Commit

Permalink
修复了eval expr返回错误时导致的栈异常
Browse files Browse the repository at this point in the history
  • Loading branch information
heanrum committed Jun 14, 2024
1 parent b160eeb commit 0c11afd
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 0c11afd

Please sign in to comment.