Commit 90910c33 authored by justcoding121's avatar justcoding121

cleanup

parent b343ce05
...@@ -273,10 +273,7 @@ namespace Titanium.Web.Proxy.Network.Tcp ...@@ -273,10 +273,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
{ {
break; break;
} }
;
} }
@lock.Release(); @lock.Release();
} }
...@@ -308,7 +305,6 @@ namespace Titanium.Web.Proxy.Network.Tcp ...@@ -308,7 +305,6 @@ namespace Titanium.Web.Proxy.Network.Tcp
{ {
cache.TryRemove(key, out var _); cache.TryRemove(key, out var _);
} }
@lock.Release(); @lock.Release();
while (disposalBag.TryTake(out var connection)) while (disposalBag.TryTake(out var connection))
...@@ -344,7 +340,7 @@ namespace Titanium.Web.Proxy.Network.Tcp ...@@ -344,7 +340,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
socket.Blocking = false; socket.Blocking = false;
socket.Send(tmp, 0, 0); socket.Send(tmp, 0, 0);
//Connected! //Connected.
} }
catch catch
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment