1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-10 21:52:01 +02:00

Fix panic caused when ctrl+c a non started service

This commit is contained in:
Asim Aslam
2019-11-01 15:08:01 +00:00
parent 0aa01b2ebf
commit e9dfccc616

View File

@@ -85,6 +85,7 @@ func newService(s *Service, c CreateOptions) *service {
Env: c.Env, Env: c.Env,
Args: args, Args: args,
}, },
closed: make(chan bool),
output: c.Output, output: c.Output,
} }
} }