mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-04-14 03:46:12 +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