mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 08:31:30 +00:00
Fix close clash cache
This commit is contained in:
parent
66d8d563eb
commit
d0095fd0f4
|
@ -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()
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue