sync file when save

This commit is contained in:
cnlh committed 2020-02-11 19:54:16 +08:00
1 parent b43bcb1c96
commit ef3dc10215
1 file changed
+1
+1
View File
@@ -177,4 +177,5 @@ func storeSyncMapToFile(m sync.Map, filePath string) {
}
return true
})
file.Sync()
}