diff --git a/thread_sync.c b/thread_sync.c index 955e552945..701eb581d1 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -374,7 +374,6 @@ do_mutex_lock(VALUE self, int interruptible_p) rb_ractor_sleeper_threads_dec(th->ractor); th->status = prev_status; th->locking_mutex = Qfalse; - th->locking_mutex = Qfalse; RUBY_DEBUG_LOG("%p wakeup", mutex); }