]> www.dolda2000.com Git - ashd.git/blobdiff - python3/ashd-wsgi3
python: Always flush sys.stderr when a reqthread exits.
[ashd.git] / python3 / ashd-wsgi3
index 5f5b5e10d377f057682f04e76c0a34545e6af2ed..da60cfaed60021061628fe2900f2e38496df8431 100755 (executable)
@@ -218,6 +218,7 @@ class reqthread(threading.Thread):
                     flightlock.notify()
         finally:
             self.req.close()
+            sys.stderr.flush()
     
 def handle(req):
     reqthread(req).start()