From 9a7b42c5ed37271cbf97158ab16fa05084e445e6 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 25 Jan 2021 16:08:59 +0000 Subject: [PATCH] Fix waitgroup --- roomserver/internal/input/input.go | 1 - 1 file changed, 1 deletion(-) diff --git a/roomserver/internal/input/input.go b/roomserver/internal/input/input.go index a1bb63a1..69cc0ca1 100644 --- a/roomserver/internal/input/input.go +++ b/roomserver/internal/input/input.go @@ -102,7 +102,6 @@ func (r *Inputer) InputRoomEvents( tasks := make([]*inputTask, len(request.InputRoomEvents)) for i := range request.InputRoomEvents { - wg.Add(1) tasks[i] = &inputTask{ ctx: context.Background(), event: &request.InputRoomEvents[i],