Skip to content

Commit

Permalink
Merge pull request EvilBeaver#1430 from Mr-Rm/develop
Browse files Browse the repository at this point in the history
fix EvilBeaver#1427 v2: исправление раскрутки стека при исключении в Выполнить
  • Loading branch information
EvilBeaver authored Aug 5, 2024
2 parents 8a3ff53 + 7432463 commit ae93a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ScriptEngine/Machine/MachineInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,8 @@ private void Execute(int arg)
ThisScope = localScope,
Scopes = scopes,
Locals = new IVariable[method.LocalVariables.Length],
InstructionPointer = 0
InstructionPointer = 0,
IsReentrantCall = true
};
var locals = frame.Locals;
for (int i = 0; i < locals.Length; i++)
Expand Down

0 comments on commit ae93a2e

Please sign in to comment.