修复监听不能正常关闭的bug

This commit is contained in:
SpringHgui 2020-02-29 22:50:52 +08:00
parent 6ee0b57a73
commit e6c2a197fe

View File

@ -84,10 +84,7 @@ namespace FastTunnel.Core
{
try
{
if (ls.Connected)
{
ls.Shutdown(SocketShutdown.Both);
}
ls.Shutdown(SocketShutdown.Both);
}
finally
{