Fix potential resource leaks from defer calls in for loop
This moves file operations inside the for loop into an anonymous func,
so the defer calls don't wait until the end of the handler call to
actually execute.
Ref T609
Fix potential resource leaks from defer calls in for loop Tags None Subscribers None
Description
Details
|