swarm/storage: release chunk storage after stop swarm (#3651)

closes #3650
This commit is contained in:
Maksim
2017-02-09 00:01:12 +07:00
committed by Felix Lange
parent fa99986143
commit 6dd27e7cff
8 changed files with 36 additions and 9 deletions

View File

@ -408,7 +408,7 @@ func (s *DbStore) getEntryCnt() uint64 {
return s.entryCnt
}
func (s *DbStore) close() {
func (s *DbStore) Close() {
s.db.Close()
}