From ac3809a54a722c0dc2958850340829ec05e96ffb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 25 Dec 2021 17:41:41 +0000 Subject: epollexclusive: remove rb_gc_force_recycle call It's deprecated in Ruby 3.1+, and probably not relevant for past versions. --- ext/unicorn_http/epollexclusive.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/unicorn_http/epollexclusive.h') diff --git a/ext/unicorn_http/epollexclusive.h b/ext/unicorn_http/epollexclusive.h index 2d2a589..677e1fe 100644 --- a/ext/unicorn_http/epollexclusive.h +++ b/ext/unicorn_http/epollexclusive.h @@ -110,7 +110,6 @@ get_readers(VALUE epio, VALUE ready, VALUE readers, VALUE timeout_msec) rb_ary_push(ready, obj); } rb_str_resize(buf, 0); - rb_gc_force_recycle(buf); return Qfalse; } #endif /* USE_EPOLL */ -- cgit v1.2.3-24-ge0c7