mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
py/emitnative: Fix try-finally in outer scope, so finally is cancelled.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user