diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-07-25 14:32:03 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-07-25 14:32:03 -0400 |
| commit | a46840534f943100e22fd869c5c30d4b5516dc1d (patch) | |
| tree | 961fcfd572b235e5d6e3c714c5f8c3890d7b6ca6 /Emby.Common.Implementations/Net | |
| parent | fe82a8a872d51fd57f7f6d91d1086d6669e01051 (diff) | |
3.2.26.3
Diffstat (limited to 'Emby.Common.Implementations/Net')
| -rw-r--r-- | Emby.Common.Implementations/Net/UdpSocket.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Emby.Common.Implementations/Net/UdpSocket.cs b/Emby.Common.Implementations/Net/UdpSocket.cs index df1099d3df..542d16d24e 100644 --- a/Emby.Common.Implementations/Net/UdpSocket.cs +++ b/Emby.Common.Implementations/Net/UdpSocket.cs @@ -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) { |
