We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478a8dd commit bb27299Copy full SHA for bb27299
src/blocks/controlblocks.cpp
@@ -180,7 +180,7 @@ CompilerValue *ControlBlocks::compileDeleteThisClone(Compiler *compiler)
180
{
181
CompilerValue *deleted = compiler->addTargetFunctionCall("control_delete_this_clone", Compiler::StaticType::Bool);
182
compiler->beginIfStatement(deleted);
183
- compiler->createStop();
+ compiler->createStopWithoutSync(); // sync happens before the function call
184
compiler->endIf();
185
return nullptr;
186
}
0 commit comments