Merge pull request #902 from micro/runtime-panic
Fix panic caused when ctrl+c a non started service
This commit is contained in:
commit
107a7ab07f
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user