Skip to content

Commit

Permalink
[patch] update dependency versions (#74)
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <i.can.feel.gravity@gmail.com>
  • Loading branch information
Yusuke Kato authored Jul 2, 2019
1 parent 8383e8d commit 4af29cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gache.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,14 @@ func Read(r io.Reader) error {
return instance.Read(r)
}

// Stop kills expire daemon
func (g *gache) Stop() {
if g.cancel != nil {
g.cancel()
}
}

// Stop kills expire daemon
func Stop() {
instance.Stop()
}
Expand Down

0 comments on commit 4af29cf

Please sign in to comment.