summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qv4codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qv4codegen.cpp b/qv4codegen.cpp
index 190c0dcf63..5c95cd0158 100644
--- a/qv4codegen.cpp
+++ b/qv4codegen.cpp
@@ -2112,6 +2112,7 @@ bool Codegen::visit(LabelledStatement *ast)
statement(ast->statement);
_block->JUMP(breakBlock);
_block = breakBlock;
+ leaveLoop();
}
return false;