diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-06-14 11:42:34 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-06-14 11:42:34 +0900 |
| commit | 97933665b6c427348983bab936a5d855f1384712 (patch) | |
| tree | 174fb0ff49a9eb943fd54703d0d367734b5fa1f2 /src/vm.c | |
| parent | ba090a46af56355d8c4a458f8000cceae26d1c4f (diff) | |
| download | mruby-97933665b6c427348983bab936a5d855f1384712.tar.gz mruby-97933665b6c427348983bab936a5d855f1384712.zip | |
Restore GC arena after raised exceptions; ref #4042
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1002,6 +1002,7 @@ RETRY_TRY_BLOCK: if (exc_catched) { exc_catched = FALSE; + mrb_gc_arena_restore(mrb, ai); if (mrb->exc && mrb->exc->tt == MRB_TT_BREAK) goto L_BREAK; goto L_RAISE; |
