[Fix] 修复start后响应两次onConnected的错误
This commit is contained in:
parent
1f37a5ebeb
commit
b90d997456
@ -75,8 +75,6 @@ class WebSocketClient(object):
|
|||||||
self._pingThread = Thread(target=self._runPing)
|
self._pingThread = Thread(target=self._runPing)
|
||||||
self._pingThread.start()
|
self._pingThread.start()
|
||||||
|
|
||||||
self.onConnected()
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
def stop(self):
|
def stop(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user