sync file when save

This commit is contained in:
cnlh 2020-02-11 19:54:16 +08:00
parent b43bcb1c96
commit ef3dc10215
1 changed files with 1 additions and 0 deletions

View File

@ -177,4 +177,5 @@ func storeSyncMapToFile(m sync.Map, filePath string) {
}
return true
})
file.Sync()
}