We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb2c44 commit 8862f32Copy full SHA for 8862f32
src/engine/virtualmachine_p.cpp
@@ -683,6 +683,8 @@ do_exec : {
683
if (goBack) {
684
goBack = false;
685
pos -= instruction_arg_count[OP_EXEC] + 1;
686
+ // NOTE: Going back leaks all registers for the next time the same function is called.
687
+ // This is for example used in the wait block (to call it again with the same time value).
688
} else
689
FREE_REGS(ret);
690
return pos;
0 commit comments