summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-11 15:33:25 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-11 15:33:25 +1000
commitf2de9d60f7dbe91d9c92ebc8df3136403d9b7938 (patch)
tree99410823b06b09266168f084f058ff6dbd4c60d9 /py
parent67ee4e24010322153d04d8f684927b6332d4cd90 (diff)
py/emitnative: Fix try-finally in outer scope, so finally is cancelled.
Diffstat (limited to 'py')
-rw-r--r--py/emitnative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitnative.c b/py/emitnative.c
index 6a5bcd7ee..73899b9e9 100644
--- a/py/emitnative.c
+++ b/py/emitnative.c
@@ -914,7 +914,7 @@ STATIC void emit_native_label_assign(emit_t *emit, mp_uint_t l) {
if (is_finally) {
// Label is at start of finally handler: pop exception stack
- emit_native_leave_exc_stack(emit, true);
+ emit_native_leave_exc_stack(emit, false);
}
}