Skip to content

Commit 8fa28d3

Browse files
committed
Remove wait function for Group - recursive call.
1 parent f8a2312 commit 8fa28d3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

extras/stop/stop.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ func (s *Group) StopAndWait() {
7070
s.Wait()
7171
}
7272

73-
func (s *Group) Wait() {
74-
defer s.Wait()
75-
}
76-
7773
// Child returns a new instance that will be stopped when s is stopped.
7874
func (s *Group) Child() *Group {
7975
return New(s)

0 commit comments

Comments
 (0)