Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
hakaishi committed Nov 11, 2020
1 parent fff2df4 commit 47d3ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thread_work.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ def _do_work(self):
while self._connection is None and not self._abort and not self._quitting: # suspend thread until there is an connection
# print("waiting for connection")
sleep(0.3)
if self._abort:
continue
if self._quitting:
return
if self._abort:
continue

if data:
try:
Expand Down

0 comments on commit 47d3ea5

Please sign in to comment.