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

zlib is ractor-safe

This commit is contained in:
Koichi Sasada 2020-12-18 11:37:13 +09:00
parent 0e40cc9b19
commit b44f7151c7

View file

@ -4548,6 +4548,10 @@ zlib_gunzip_run(VALUE arg)
void
Init_zlib(void)
{
#if HAVE_RB_EXT_RACTOR_SAFE
rb_ext_ractor_safe(true);
#endif
#undef rb_intern
VALUE mZlib, cZStream, cDeflate, cInflate;
#if GZIP_SUPPORT