1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/modules/web
zeripath eedc0c8324
Defer closing the gitrepo until the end of the wrapped context functions (#15653)
There was a mistake in #15372 where deferral of gitrepo close occurs before it should.

This PR fixes this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-06 01:30:25 +02:00
..
middleware Use index of the supported tags to choose user lang (#15452) 2021-04-14 19:52:01 +01:00
route_test.go
route.go Defer closing the gitrepo until the end of the wrapped context functions (#15653) 2021-05-06 01:30:25 +02:00