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