aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/Net/UdpSocket.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-07-25 14:32:24 -0400
committerGitHub <noreply@github.com>2017-07-25 14:32:24 -0400
commitd23cb10bbffafa49914818d88c9189bceeee095f (patch)
tree961fcfd572b235e5d6e3c714c5f8c3890d7b6ca6 /Emby.Common.Implementations/Net/UdpSocket.cs
parent1a550b1fa8b7c987d8f6f9d56b73f598aa17ae55 (diff)
parenta46840534f943100e22fd869c5c30d4b5516dc1d (diff)
Merge pull request #2775 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Common.Implementations/Net/UdpSocket.cs')
-rw-r--r--Emby.Common.Implementations/Net/UdpSocket.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Emby.Common.Implementations/Net/UdpSocket.cs b/Emby.Common.Implementations/Net/UdpSocket.cs
index df1099d3d..542d16d24 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)
{