mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-02-16 02:20:52 +00:00
minor
This commit is contained in:
@@ -193,6 +193,8 @@ class TCPServer:
|
||||
def stop(self):
|
||||
self.log.debug("Stopping TCP server")
|
||||
try:
|
||||
if not self.server:
|
||||
return
|
||||
self.server.close()
|
||||
for conn in self._connections:
|
||||
self.log.debug(f"Closing {conn}")
|
||||
|
||||
Reference in New Issue
Block a user