Update HttpHandler.cs

This commit is contained in:
2dust
2022-11-20 19:35:42 +08:00
parent f0e3b6f9af
commit a910accbd6

View File

@@ -56,7 +56,6 @@ public class HttpHandler
} }
catch (Exception e) catch (Exception e)
{ {
} }
} }
@@ -72,6 +71,7 @@ public class HttpHandler
{ {
_isRunning = false; _isRunning = false;
_tcpListener.Stop(); _tcpListener.Stop();
_tcpListener = null;
} }
catch (Exception e) catch (Exception e)
{ {