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:
parent
0e40cc9b19
commit
b44f7151c7
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue