Add block and mutex profiles #39
1 changed files with 1 additions and 1 deletions
|
@ -50,8 +50,8 @@ func (c *httpComponent) start() {
|
||||||
log.Info(fmt.Sprintf("start %s", c.name))
|
log.Info(fmt.Sprintf("start %s", c.name))
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func() {
|
go func() {
|
||||||
|
defer wg.Done()
|
||||||
exitErr(c.srv.Serve())
|
exitErr(c.srv.Serve())
|
||||||
wg.Done()
|
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue