models/repo: fix SQLite3 database-lock when fail to delete repository (#4048)
models/repo: fix SQLite3 database-lock when fail to delete repository (#4048)

gogits/gogs,psaavedra/gogs,cgars/gogs,wangjild/gogs,dancewing/gogs,mukaiu/gogs,pikacloud/pikacode,Spice-King/gogs,dlob/gogs,xaionaro/gogs,dlob/gogs,ForxaCoLab/forxa,gogits/gogs,liliexuan/gogs,xaionaro/gogs,cgars/gogs,Spice-King/gogs,ForxaCoLab/forxa,liliexuan/gogs,pikacloud/pikacode,wangjild/gogs,chriswatt/gogs,mukaiu/gogs,mukaiu/gogs,linquize/gogs,cgars/gogs,xaionaro/gogs,Spice-King/gogs,liliexuan/gogs,ForxaCoLab/forxa,wangjild/gogs,dancewing/gogs,dancewing/gogs,dancewing/gogs,pikacloud/pikacode,linquize/gogs,psaavedra/gogs,psaavedra/gogs,chriswatt/gogs,chriswatt/gogs,linquize/gogs,dlob/gogs,gogits/gogs