Merge pull request #902 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

View File

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