mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Some code improvements (#14266)
This commit is contained in:
@ -137,6 +137,9 @@ func fixPublisherIDforTagReleases(x *xorm.Engine) error {
|
||||
return err
|
||||
}
|
||||
}
|
||||
if gitRepo != nil {
|
||||
gitRepo.Close()
|
||||
}
|
||||
|
||||
if err := sess.Commit(); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user