gitea/modules/context
zeripath 6782a64a4a
Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746)
* Defer closing the gitrepo until the end of the wrapped context functions (#15653)

Backport #15653

There was a mistake in #15372 where deferral of gitrepo close occurs before it should.

This PR fixes this.
2021-05-07 18:28:02 +02:00
..
access_log.go
api.go
api_org.go
api_test.go
auth.go
captcha.go
context.go
csrf.go
form.go
org.go
pagination.go
permission.go
private.go
repo.go Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746) 2021-05-07 18:28:02 +02:00
response.go
secret.go
xsrf.go
xsrf_test.go