1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

remove debug code

This commit is contained in:
Koichi Sasada 2020-10-10 04:46:09 +09:00
parent 02e17d473a
commit a770b9c87e

View file

@ -1175,9 +1175,7 @@ ractor_close_outgoing(rb_execution_context_t *ec, rb_ractor_t *r)
// wakeup all taking ractors
rb_ractor_t *taking_ractor;
bp();
while ((taking_ractor = ractor_waiting_list_shift(r, &r->taking_ractors)) != NULL) {
rp(taking_ractor->self);
RACTOR_LOCK(taking_ractor);
ractor_wakeup(taking_ractor, wait_taking, wakeup_by_close);
RACTOR_UNLOCK(taking_ractor);