1. anatoly techtonik
  2. absub

Commits

anatoly techtonik  committed 153fd87

Move pipe.flush() in thread into the lock scope. The pipe.close()
operations should probably be in this scope too.

  • Participants
  • Parent commits 51f6b01
  • Branches default

Comments (0)

Files changed (1)

File async_subprocess.py

View file
             while len(queue) > 0:
                 chunk = queue.popleft()
                 pipe.write(chunk)
+            pipe.flush()
             lock.release()
-            pipe.flush()
     except:
         pass
     finally: