Skip to content

Commit

Permalink
fix: Fix issue with unregistering client streamers
Browse files Browse the repository at this point in the history
Fixed an issue where client streamers were not properly unregistered from the channel manager. Added a call to cancel the client streamer before unregistering it.
  • Loading branch information
SenexCrenshaw committed Feb 10, 2024
1 parent 5d59d85 commit fe55a97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions StreamMaster.Streams/Channels/ChannelManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private async void StreamManager_OnStreamingStoppedEvent(object? sender, IStream
clientStreamerManager.GetClientStreamerConfigurationsByChannelVideoStreamId(channelStatus.ChannelVideoStreamId)
.ForEach(async x =>
{
await x.CancelClient();
await UnRegisterWithChannelManager(x).ConfigureAwait(false);
}
);
Expand Down

0 comments on commit fe55a97

Please sign in to comment.