diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-12-18 11:23:16 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-12-18 11:23:34 +0900 |
commit | a07f2498031d5f4c53ddc03d61a8a41a6b77baca (patch) | |
tree | 2f64b0983975c8fbb15046d64c4c66840fae8971 /ext | |
parent | aa82b067cbf24e781fedfe951be153b6b1d21ddf (diff) |
socket is ractor-safe.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 189e5c2784..3d8c65032c 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -1894,6 +1894,8 @@ socket_s_ip_address_list(VALUE self) void Init_socket(void) { + rb_ext_ractor_safe(true); + rsock_init_basicsocket(); /* |