From 707c50d3417f4e4c2e8bfb6ee3454e4c83d0062e Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 22 Apr 2008 04:26:44 +0000 Subject: * thread.c (rb_thread_stop_timer_thread): should clear timer_thread_id after stopping it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread.c') diff --git a/thread.c b/thread.c index bcabb59ec1..2f1ff92e8f 100644 --- a/thread.c +++ b/thread.c @@ -2008,6 +2008,7 @@ rb_thread_stop_timer_thread(void) if (timer_thread_id) { system_working = 0; native_thread_join(timer_thread_id); + timer_thread_id = 0; } } -- cgit v1.2.3