summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-08-13 10:00:51 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-08-14 21:51:43 -0400
commitd025bc230cd1f31d0b03c9f6490d8db066fc01b1 (patch)
treefa4de908e6fe5b9153ac41505e49a168d3d581b9
parentb0cd89a5b54071dc63af10839f161ba88fc44d86 (diff)
Remove duplicated line of code in thread_sync.c
-rw-r--r--thread_sync.c1
1 files changed, 0 insertions, 1 deletions
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);
}