From d025bc230cd1f31d0b03c9f6490d8db066fc01b1 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 13 Aug 2025 10:00:51 -0400 Subject: [PATCH] Remove duplicated line of code in thread_sync.c --- thread_sync.c | 1 - 1 file changed, 1 deletion(-) 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); }