Files
livekit/pkg
Raja Subramanian d6ad857506 Do not post to closed channels. (#2179)
* Do not post to closed channels.

Perils of atomics. Hard to imagine, but I guess it could happen.
The postMaxLayerNotifier checked for closed and down track was not
closed. But, between that check and posting to channel (which is
a very small window), the down track could have been closed and
the channel (maxLayerNotiferCh) is closed.

Protect that channel post + close with the bind lock.

* reduce the change

* Check for closed inside lock
2023-10-24 18:21:59 +05:30
..
2023-10-22 22:49:38 -07:00
2023-10-24 12:59:25 +05:30
2023-07-27 16:43:19 -07:00
2023-08-03 13:31:17 -07:00