Rev3127, Fix UiWebsocket async message response skip
This commit is contained in:
parent
46455737cc
commit
9d4515954b
2 changed files with 2 additions and 2 deletions
|
@ -187,9 +187,9 @@ class UiWebsocket(object):
|
|||
self.next_message_id += 1
|
||||
if cb: # Callback after client responded
|
||||
self.waiting_cb[message["id"]] = cb
|
||||
self.send_queue.append(message)
|
||||
if self.sending:
|
||||
return # Already sending
|
||||
self.send_queue.append(message)
|
||||
try:
|
||||
while self.send_queue:
|
||||
self.sending = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue