diff --git a/keystore.go b/keystore.go index 6dd0aa6d..d944bce2 100644 --- a/keystore.go +++ b/keystore.go @@ -348,7 +348,7 @@ func (c *keyCache) List(ctx context.Context, prefix string, n int) ([]string, st // releases associated resources. func (c *keyCache) Close() error { c.stop() - return nil + return c.store.Close() } // gc executes f periodically until the ctx.Done() channel returns.