1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 01:34:25 +00:00
gitea/modules/web
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
..
middleware Use index of the supported tags to choose user lang (#15452) (#15488) 2021-04-15 16:47:43 +02:00
route_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
route.go Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746) 2021-05-07 18:28:02 +02:00