diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-07 05:33:32 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-07 05:33:32 -0700 |
| commit | 62303a80cf139809678936b71b2de9f7ee354f58 (patch) | |
| tree | aad46579d3870eacfd5744820c9e5e3c780cdf1f /src | |
| parent | 298c24cc6ac5907a587117028b979338c351bd09 (diff) | |
| parent | 22ac62a4f19d07cdbf0e31d8b098137e1bbd8772 (diff) | |
| download | mruby-62303a80cf139809678936b71b2de9f7ee354f58.tar.gz mruby-62303a80cf139809678936b71b2de9f7ee354f58.zip | |
Merge pull request #1444 from Fleurer/issue1442
fix #1442
Diffstat (limited to 'src')
| -rw-r--r-- | src/gc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -677,6 +677,10 @@ root_scan_phase(mrb_state *mrb) mrb_gc_mark(mrb, (struct RBasic*)mrb->exc); mark_context(mrb, mrb->root_c); + if (mrb->root_c != mrb->c) { + mark_context(mrb, mrb->c); + } + /* mark irep pool */ if (mrb->irep) { size_t len = mrb->irep_len; |
