Kaydet (Commit) ee145ecc authored tarafından Vinay Sajip's avatar Vinay Sajip

Issue #11444: Merge fix from 2.6.

......@@ -1627,6 +1627,7 @@ def shutdown(handlerList=_handlerList):
h = wr()
if h:
try:
h.acquire()
h.flush()
h.close()
except (IOError, ValueError):
......@@ -1635,6 +1636,8 @@ def shutdown(handlerList=_handlerList):
# references to them are still around at
# application exit.
pass
finally:
h.release()
except:
if raiseExceptions:
raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment