resolve sparkapi on_close error
This commit is contained in:
parent
d5b4d7ab90
commit
d16329c1af
@ -121,7 +121,7 @@ class SparkRequestInstance():
|
|||||||
self.time_to_exit_event.set()
|
self.time_to_exit_event.set()
|
||||||
|
|
||||||
# 收到websocket关闭的处理
|
# 收到websocket关闭的处理
|
||||||
def on_close(ws):
|
def on_close(ws, *args):
|
||||||
self.time_to_exit_event.set()
|
self.time_to_exit_event.set()
|
||||||
|
|
||||||
# websocket
|
# websocket
|
||||||
|
Loading…
x
Reference in New Issue
Block a user