mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-03 05:16:16 +00:00
When publisher.close() acquires the gate lock before registerAnnounceBidi, the announce bidi list is empty and no Ended message is sent. Fix by writing Ended + finishing the bidi in registerAnnounceBidi when publisherClosed is already true, mirroring what close() does for bidis it owns at close time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015t3bsJruGerz53yafZyp9n