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

cgi/escape is ractor-safe

This commit is contained in:
Koichi Sasada 2020-12-20 04:09:40 +09:00
parent 3621380046
commit c1461c927b

View file

@ -388,6 +388,10 @@ cgiesc_unescape(int argc, VALUE *argv, VALUE self)
void
Init_escape(void)
{
#if HAVE_RB_EXT_RACTOR_SAFE
rb_ext_ractor_safe(true);
#endif
id_accept_charset = rb_intern_const("@@accept_charset");
InitVM(escape);
}