This commit is contained in:
yumoqing 2024-09-27 18:29:07 +08:00
parent 41ed4a811d
commit e1eafd0639

View File

@ -115,6 +115,12 @@ class WsPool:
return False
return True
def register(self, id):
iddata = DictObject()
iddata.ws = self.ws
iddata.id = id
self.add_me(self, iddata)
def add_me(self, iddata):
data = self.get_data()
if data is None: