diff --git a/experimental/clashapi/cachefile/cache.go b/experimental/clashapi/cachefile/cache.go index 7ca7e4c6..aa81ff8c 100644 --- a/experimental/clashapi/cachefile/cache.go +++ b/experimental/clashapi/cachefile/cache.go @@ -59,3 +59,7 @@ func (c *CacheFile) StoreSelected(group, selected string) error { return bucket.Put([]byte(group), []byte(selected)) }) } + +func (c *CacheFile) Close() error { + return c.DB.Close() +}