1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-23 20:32:32 +02:00

Merge pull request from micro/runtime-panic

Fix panic caused when ctrl+c a non started service
This commit is contained in:
Asim Aslam 2019-11-01 15:12:33 +00:00 committed by GitHub
commit 107a7ab07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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