Skip to content

Commit

Permalink
fix force_flush_queue: Queue objects have get but not read
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 5, 2023
1 parent ae52c7c commit bcc39fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/net/protocol.py
Expand Up @@ -66,7 +66,7 @@ def force_flush_queue(q):
#discard all elements in the old queue and push the None marker:
try:
while q.qsize()>0:
q.read(False)
q.get(False)
except Exception:
log("force_flush_queue(%s)", q, exc_info=True)
q.put_nowait(None)
Expand Down

0 comments on commit bcc39fe

Please sign in to comment.