Remove wait function for Group - recursive call.
This commit is contained in:
parent
f8a231286a
commit
8fa28d3d65
1 changed files with 0 additions and 4 deletions
|
@ -70,10 +70,6 @@ func (s *Group) StopAndWait() {
|
|||
s.Wait()
|
||||
}
|
||||
|
||||
func (s *Group) Wait() {
|
||||
defer s.Wait()
|
||||
}
|
||||
|
||||
// Child returns a new instance that will be stopped when s is stopped.
|
||||
func (s *Group) Child() *Group {
|
||||
return New(s)
|
||||
|
|
Loading…
Reference in a new issue