diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-01 08:10:49 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-01 08:10:49 +0000 |
| commit | f2c6107ad4b076fcec7077830033f505aae9c435 (patch) | |
| tree | f45063908623427dce443429bb106e475b16597e /eval.c | |
| parent | 7e0cb3d7356f47a8473eae7094c4bc135bccebd0 (diff) | |
| download | ruby-f2c6107ad4b076fcec7077830033f505aae9c435.tar.gz ruby-f2c6107ad4b076fcec7077830033f505aae9c435.tar.xz ruby-f2c6107ad4b076fcec7077830033f505aae9c435.zip | |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -801,7 +801,8 @@ static rb_thread_t curr_thread = 0; if (!(ruby_scope->flag & SCOPE_MALLOC)) {\ ruby_scope->local_vars = 0; \ ruby_scope->local_tbl = 0; \ - if (ruby_scope != top_scope) { \ + if (!(ruby_scope->flag & SCOPE_DONT_RECYCLE) && \ + ruby_scope != top_scope) { \ rb_gc_force_recycle((VALUE)ruby_scope);\ } \ } \ |
