mirror of
https://github.com/ruby/ruby.git
synced 2026-11-09 08:42:18 +08:00
Port IDs are per-Ractor, so two monitoring Ractors can have the same port ID. Ractor#unmonitor matched only by port ID, so it could remove an entry that belonged to a different Ractor. We should also match that the port's belong to the same Ractor.