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
route.go Defer closing the gitrepo until the end of the wrapped context functions (#15653) 2021-05-06 01:30:25 +02:00
route_test.go