Skip to content

Commit 4da3a20

Browse files
committed
Revert "feat: extend NewGroup function to accept context"
This reverts commit a3707fd.
1 parent 65a4f4b commit 4da3a20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

task/group.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ type Group struct {
3333
}
3434

3535
// NewGroup creates new task group instance.
36-
func NewGroup(ctx context.Context) *Group {
37-
ctx, cancel := context.WithCancel(ctx)
36+
func NewGroup() *Group {
37+
ctx, cancel := context.WithCancel(context.Background())
3838

3939
return &Group{
4040
ctx: ctx,

0 commit comments

Comments
 (0)