Apply review suggestions

This commit is contained in:
Shadowghost
2023-02-15 22:34:44 +01:00
parent 1cc7572445
commit 4eba16c672
10 changed files with 117 additions and 118 deletions

View File

@@ -102,7 +102,10 @@ namespace Emby.Server.Implementations.EntryPoints
_udpServers.Add(new UdpServer(_logger, _appHost, _config, System.Net.IPAddress.Any, PortNumber));
}
_udpServers.ForEach(u => u.Start(_cancellationTokenSource.Token));
foreach (var server in _udpServers)
{
server.Start(_cancellationTokenSource.Token);
}
}
catch (SocketException ex)
{