diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-31 13:57:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-31 13:57:36 +0000 |
commit | a5e6541ad6d382ca35c9b0f90d40f674951ae731 (patch) | |
tree | 3ef90a7e9443c240af9f2d00ec21aba82fddf49f /eval.c | |
parent | a711b321b755a94275c616e070eff8f411e3f250 (diff) | |
download | ruby-a5e6541ad6d382ca35c9b0f90d40f674951ae731.tar.gz |
* eval.c (rb_thread_save_context): should not recycle scope object used
in a thread. fixed: [ruby-dev:28177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10131,6 +10131,7 @@ rb_thread_save_context(rb_thread_t th) th->frame = ruby_frame; th->scope = ruby_scope; + ruby_scope->flags |= SCOPE_DONT_RECYCLE; th->klass = ruby_class; th->wrapper = ruby_wrapper; th->cref = ruby_cref; |