mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 17:07:56 +01:00
fb5af37b3e
Backport #8901 - Adjusted slightly for 1.9 In investigating #7947 it has become clear that the storage component of go-git repositories needs closing. This PR adds this Close function and adds the Close functions as necessary. In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files. Fixes #7947 |
||
---|---|---|
.. | ||
admin_auth_ldap_test.go | ||
admin_auth_ldap.go | ||
admin.go | ||
cert.go | ||
cmd.go | ||
convert.go | ||
dump.go | ||
generate.go | ||
hook.go | ||
keys.go | ||
migrate.go | ||
serv.go | ||
web_graceful.go | ||
web_windows.go | ||
web.go |