Remove duplicated line of code in thread_sync.c

This commit is contained in:
Peter Zhu 2025-08-13 10:00:51 -04:00
parent c30d900547
commit f2cecf57b1

View file

@ -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);
}