Fix missing Store.Close() unlock.

pull/9513/head
Ben Johnson 2018-03-06 10:36:44 -07:00
parent f627a2d48d
commit d0688201ba
No known key found for this signature in database
GPG Key ID: 81741CD251883081
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ func (s *Store) Close() error {
for _, sfile := range s.sfiles {
// Close out the series files.
if err := sfile.Close(); err != nil {
s.mu.Unlock()
return err
}
}