go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.24k stars 5.5k forks source link

Fix clean tmp dir (#32360) #32593

Closed lunny closed 1 minute ago

lunny commented 1 day ago

Backport #32360

Try to fix #31792

Credit to @jeroenlaylo Copied from https://github.com/go-gitea/gitea/issues/31792#issuecomment-2311920520