Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

v360: OutputBuffer: dup listeners before iterating

Choose a tag to compare

@zendesk-deploy zendesk-deploy released this 22 Dec 01:23
Array#delete inside of the #each can lead to the other listeners not
being reachable.

This is also the behavior of ThreadSafe::Cache#each_pair, which we don't
"really" need, but might want to use since ThreadSafe::Array is just a
regular Array in MRI.