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 | f9c6aa9f11b18f7cdc8d3e56cfb373107bcb61e3 (patch) | |
tree | da5fa9149da876e130d30ebf1aec5c128e74567e /eval.c | |
parent | 661880e22790cf1f79fe9706db4bf28894c804bc (diff) |
* 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/branches/ruby_1_8@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10117,6 +10117,7 @@ rb_thread_save_context(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; |