Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close storage objects before cleaning (#16934) #16942

Merged
merged 1 commit into from
Sep 3, 2021

Commits on Sep 3, 2021

  1. Close storage objects before cleaning (go-gitea#16934)

    Backport go-gitea#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 go-gitea#16932
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    4cc5bcd View commit details
    Browse the repository at this point in the history