Skip to content

Commit cdbe615

Browse files
committed
Freeze NativeCommon for Ractor
Only used while testing the FFI backend on CRuby.
1 parent cec815b commit cdbe615

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/prism/ffi/native_ffi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,6 @@ def string_query_local(string)
320320
end
321321
end
322322

323-
FFICommon = NativeCommon.new
323+
FFICommon = NativeCommon.new.freeze
324324
private_constant(:FFICommon)
325325
end

0 commit comments

Comments
 (0)