Skip to content
Permalink
Browse files

Fix missed mutex release

  • Loading branch information...
matthewmcneely committed Mar 28, 2019
1 parent f365f27 commit 9b51b3cb89b36edefe1d835219b3aa90ca8ffed3
Showing with 2 additions and 0 deletions.
  1. +2 −0 prom.go
@@ -168,6 +168,8 @@ func (p *Prometheus) Instrument() gin.HandlerFunc {
if p.PathMap.values == nil {
p.PathMap.RUnlock()
p.update()
} else {
p.PathMap.RUnlock()
}
var path string
var found bool

0 comments on commit 9b51b3c

Please sign in to comment.
You can’t perform that action at this time.