mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
Cleanup and fixes
This commit is contained in:
@@ -142,11 +142,7 @@ namespace Rssdp.Infrastructure
|
||||
if (_BroadcastListenSockets != null)
|
||||
{
|
||||
_logger.LogInformation("{0} disposing _BroadcastListenSocket", GetType().Name);
|
||||
foreach (var socket in _BroadcastListenSockets)
|
||||
{
|
||||
socket.Dispose();
|
||||
}
|
||||
|
||||
_BroadcastListenSockets.ForEach(s => s.Dispose());
|
||||
_BroadcastListenSockets = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user