mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 17:56:56 +00:00
sync file when save
This commit is contained in:
@@ -177,4 +177,5 @@ func storeSyncMapToFile(m sync.Map, filePath string) {
|
||||
}
|
||||
return true
|
||||
})
|
||||
file.Sync()
|
||||
}
|
||||
|
Reference in New Issue
Block a user