mirror of https://github.com/go-gitea/gitea
Close storage objects before cleaning (#16934)
Storage.Iterate provides the path and an open object. On windows using local storage means that the objects will be locked thus preventing clean from deleting them. This PR simply closes the objects early. Fix #16932 Signed-off-by: Andrew Thornton <art27@cantab.net>pull/16939/head^2
parent
6c125e9797
commit
076bb8a2a2
Loading…
Reference in new issue