About issue #1. Closed useless thread in the 'Room' process.

This commit is contained in:
snsd0805 2020-06-29 22:25:02 +08:00
parent 41b9105d49
commit fa4927ed85

View File

@ -177,6 +177,7 @@ class Room:
self.allPeerName.remove(peer)
if len(self.sockList):
self.startFlag = False
break
else:
sock.send('n'.encode('utf-8'))
for clientSock in self.sockList: