mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 15:41:15 +02:00
filer: close stores if interrupted
This commit is contained in:
@@ -216,3 +216,7 @@ func getNameFromKey(key []byte) string {
|
||||
return string(key[sepIndex+1:])
|
||||
|
||||
}
|
||||
|
||||
func (store *LevelDBStore) Shutdown() {
|
||||
store.db.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user