Code clean
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Net.Sockets;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
|
||||
namespace ServiceLib.Handler
|
||||
@@ -89,7 +89,8 @@ namespace ServiceLib.Handler
|
||||
|
||||
public static void Stop()
|
||||
{
|
||||
if (_tcpListener == null) return;
|
||||
if (_tcpListener == null)
|
||||
return;
|
||||
try
|
||||
{
|
||||
_isRunning = false;
|
||||
@@ -102,4 +103,4 @@ namespace ServiceLib.Handler
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user