mirror of
https://github.com/ruby/ruby.git
synced 2026-08-02 07:40:40 +08:00
(https://github.com/ruby/stringio/pull/223) Follow up to #222 This refcount previously wasn't thread safe (and shouldn't have been declared `RUBY_TYPED_THREAD_SAFE_FREE`), but it's easy enough to fix using ruby/atomic.h (Ruby 3.0+) https://github.com/ruby/stringio/commit/2825dc3007