summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index d99c2d6df5..1dd13d77bb 100644
--- a/thread.c
+++ b/thread.c
@@ -363,7 +363,6 @@ rb_thread_terminate_all(void)
}
POP_TAG();
}
- rb_thread_stop_timer_thread();
}
static void
@@ -2985,9 +2984,9 @@ timer_thread_function(void *arg)
}
void
-rb_thread_stop_timer_thread(void)
+rb_thread_stop_timer_thread(int close_anyway)
{
- if (timer_thread_id && native_stop_timer_thread()) {
+ if (timer_thread_id && native_stop_timer_thread(close_anyway)) {
native_reset_timer_thread();
}
}