diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 92ec66af1e..a12619f92a 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1315,8 +1315,7 @@ static void ubf_wakeup_thread(rb_thread_t *th) { thread_debug("thread_wait_queue_wakeup (%"PRI_THREAD_ID")\n", thread_id_str(th)); - if (th) - pthread_kill(th->thread_id, SIGVTALRM); + pthread_kill(th->thread_id, SIGVTALRM); } static void |