diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-16 03:42:50 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-16 03:42:50 +0000 |
commit | a04df27e72aa8e1f5940e80e8646d046977f5198 (patch) | |
tree | c3f958b3ab37b27dc067bfb339c6aaf390022ece /thread.c | |
parent | c68fdad4736be4b1281dda9e8563bc9c4aacf344 (diff) | |
download | ruby-a04df27e72aa8e1f5940e80e8646d046977f5198.tar.gz |
* thread.c (thread_start_func_2): call ruby_cleanup() if thread is
main thread. [ruby-dev:37624]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -463,7 +463,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s } thread_cleanup_func(th); if (th->vm->main_thread == th) { - rb_thread_stop_timer_thread(); + ruby_cleanup(state); } native_mutex_unlock(&th->vm->global_vm_lock); |