diff options
author | NARUSE, Yui <naruse@airemix.jp> | 2021-03-11 20:06:14 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2021-03-11 20:06:14 +0900 |
commit | 0074ea2d83230e10ab0cd769fff203c13d3c592f (patch) | |
tree | ff05df5bc60d662584beb19da2f21dc7d39675ad /thread.c | |
parent | 05fa06a4ed419949e79e79ff088c19fb2ecb07b7 (diff) |
merge revision(s) 2a83650b0fd25719fb6c03bfec7bd895734d3ceb: [Backport #15852]
Destroy VM-wise locks before freeing [Bug #15852]
---
thread.c | 7 -------
vm.c | 2 ++
2 files changed, 2 insertions(+), 7 deletions(-)
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -424,13 +424,6 @@ rb_vm_gvl_destroy(rb_global_vm_lock_t *gvl) { gvl_release(gvl); gvl_destroy(gvl); - - if (0) { - rb_vm_t *vm = GET_VM(); - /* may be held by running threads */ - rb_native_mutex_destroy(&vm->waitpid_lock); - rb_native_mutex_destroy(&vm->workqueue_lock); - } } void |