mirror of https://github.com/go-gitea/gitea
Close the temp file when dumping database to make the temp file can be deleted on Windows (#23249) (#23251)
Backport #23249 There was no `dbDump.Close()` before, Windows doesn't like to delete opened files. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>pull/23237/head^2
parent
085a4debd5
commit
9843a0b741
Loading…
Reference in new issue