summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/thread.c b/thread.c
index 708aaa471d..90883b4cff 100644
--- a/thread.c
+++ b/thread.c
@@ -422,11 +422,6 @@ rb_vm_gvl_destroy(rb_vm_t *vm)
{
gvl_release(vm);
gvl_destroy(vm);
- if (0) {
- /* may be held by running threads */
- rb_native_mutex_destroy(&vm->waitpid_lock);
- rb_native_mutex_destroy(&vm->workqueue_lock);
- }
}
void