1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
zeripath 076bb8a2a2
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>
2021-09-03 11:48:49 +01:00
..
2021-04-01 19:41:09 +02:00
2021-06-07 07:27:09 +02:00
2021-04-19 18:25:08 -04:00
2021-08-22 00:47:45 +02:00
2021-04-17 10:27:25 +01:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2021-05-03 13:24:24 -04:00
2019-06-12 15:41:28 -04:00
2021-08-22 00:47:45 +02:00
2020-04-05 07:20:50 +01:00