mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 18:52:34 +08: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 New Issue
Block a user