filer: close stores if interrupted
This commit is contained in:
@@ -196,3 +196,7 @@ func getNameFromKey(key []byte) string {
|
||||
|
||||
return string(key[sepIndex+1:])
|
||||
}
|
||||
|
||||
func (store *EtcdStore) Shutdown() {
|
||||
store.client.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user