Move diff from nspcc master and support branches #28

Merged
fyrchik merged 28 commits from move-changes into master 2023-01-25 12:31:47 +00:00
Showing only changes of commit f18a73ea61 - Show all commits

View file

@ -261,7 +261,10 @@ func (s *Shard) Close() error {
}
}
s.gc.stop()
// If Init/Open was unsuccessful gc can be nil.
if s.gc != nil {
s.gc.stop()
}
return nil
}