mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-04-05 19:43:40 +00:00
Fix waitgroup
This commit is contained in:
parent
391ad96cab
commit
9a7b42c5ed
1 changed files with 0 additions and 1 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue