mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
3.2.26.3
This commit is contained in:
@@ -37,8 +37,6 @@ namespace Emby.Common.Implementations.Net
|
||||
private TaskCompletionSource<SocketReceiveResult> _currentReceiveTaskCompletionSource;
|
||||
private TaskCompletionSource<int> _currentSendTaskCompletionSource;
|
||||
|
||||
private readonly SemaphoreSlim _sendLock = new SemaphoreSlim(1, 1);
|
||||
|
||||
public UdpSocket(Socket socket, int localPort, IPAddress ip)
|
||||
{
|
||||
if (socket == null) throw new ArgumentNullException("socket");
|
||||
@@ -234,8 +232,6 @@ namespace Emby.Common.Implementations.Net
|
||||
if (socket != null)
|
||||
socket.Dispose();
|
||||
|
||||
_sendLock.Dispose();
|
||||
|
||||
var tcs = _currentReceiveTaskCompletionSource;
|
||||
if (tcs != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user