fix issue #206
This commit is contained in:
parent
4847f9ee9f
commit
436864ca92
@ -98,9 +98,8 @@ func (p *program) Start() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer s.Close()
|
||||
|
||||
go func() {
|
||||
defer s.Close()
|
||||
log.Info("api service on ", s.Addr())
|
||||
log.Fatal(s.Serve())
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user