ruby-changes:10049
From: ko1 <ko1@a...>
Date: Fri, 16 Jan 2009 12:43:43 +0900 (JST)
Subject: [ruby-changes:10049] Ruby:r21592 (trunk): * thread.c (thread_start_func_2): call ruby_cleanup() if thread is
ko1 2009-01-16 12:42:50 +0900 (Fri, 16 Jan 2009) New Revision: 21592 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21592 Log: * thread.c (thread_start_func_2): call ruby_cleanup() if thread is main thread. [ruby-dev:37624] Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 21591) +++ ChangeLog (revision 21592) @@ -1,3 +1,8 @@ +Fri Jan 16 12:24:39 2009 Koichi Sasada <ko1@a...> + + * 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@r...> * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc, Index: thread.c =================================================================== --- thread.c (revision 21591) +++ thread.c (revision 21592) @@ -463,7 +463,7 @@ } 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/