Open sorgo opened 1 year ago
@sorgo @Gadgetoid I've reviewed this patch. It is not needed. The semantics of "with open" automatically closes the file. All of the calls to close in the patch are within "with" blocks.
@sorgo It would be interesting to have more details about the hangs you are experiencing. They are not caused by files being left open.
Close file handlers in logging.py to prevent hanging due to the leak