From 8fa28d3d656f199250ed632597eb4a511e44ff44 Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Sun, 25 Aug 2019 16:20:01 -0400 Subject: [PATCH] Remove wait function for Group - recursive call. --- extras/stop/stop.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/extras/stop/stop.go b/extras/stop/stop.go index 45a9bd8..c599ec1 100644 --- a/extras/stop/stop.go +++ b/extras/stop/stop.go @@ -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)