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 | 1495907b722fed391aa3ce860aac7caeca8d7720 (patch) | |
| tree | c3f958b3ab37b27dc067bfb339c6aaf390022ece | |
| parent | 2c121ea1da215b6ac39dd8eb8c67f7c71a534b86 (diff) | |
| download | ruby-1495907b722fed391aa3ce860aac7caeca8d7720.tar.gz ruby-1495907b722fed391aa3ce860aac7caeca8d7720.tar.xz ruby-1495907b722fed391aa3ce860aac7caeca8d7720.zip | |
* thread.c (thread_start_func_2): call ruby_cleanup() if thread is
main thread. [ruby-dev:37624]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | thread.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Jan 16 12:24:39 2009 Koichi Sasada <ko1@atdot.net> + + * thread.c (thread_start_func_2): call ruby_cleanup() if thread is + main thread. [ruby-dev:37624] + Fri Jan 16 12:27:50 2009 NAKAMURA Usaku <usa@ruby-lang.org> * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc, @@ -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); |
