Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ext/nio4r/nio4r_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ void Init_NIO_ByteBuffer();

void Init_nio4r_ext()
{
#ifdef HAVE_RB_EXT_RACTOR_SAFE
rb_ext_ractor_safe(true);
#endif

ev_set_allocator(xrealloc);

Init_NIO_Selector();
Expand Down