Fix close clash cache

This commit is contained in:
世界 2022-12-02 21:57:10 +08:00
parent 66d8d563eb
commit d0095fd0f4
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -59,3 +59,7 @@ func (c *CacheFile) StoreSelected(group, selected string) error {
return bucket.Put([]byte(group), []byte(selected)) return bucket.Put([]byte(group), []byte(selected))
}) })
} }
func (c *CacheFile) Close() error {
return c.DB.Close()
}