cmd, lib/db: Actually close goleveldb (fixes #5505) (#5671)

This commit is contained in:
Simon Frei authored and GitHub committed 2019-05-02 11:15:00 +02:00
1 parent ec7c88ca55
commit fe4daf242b
7 files changed
+204 -36

No files matched your search

+1
View File
@@ -928,6 +928,7 @@ func syncthingMain(runtimeOptions RuntimeOptions) {
code := exit.waitForExit()
mainService.Stop()
ldb.Close()
l.Infoln("Exiting")