mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
Merge pull request #902 from micro/runtime-panic
Fix panic caused when ctrl+c a non started service
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user