mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Fix panic from closing the input channel before the workers complete (it'll get GC'd either way)
This commit is contained in:
parent
2a5c38fee2
commit
4d9f5b2e57
1 changed files with 0 additions and 1 deletions
|
@ -161,7 +161,6 @@ func (r *Inputer) InputRoomEvents(
|
|||
}
|
||||
} else {
|
||||
responses := make(chan error, len(request.InputRoomEvents))
|
||||
defer close(responses)
|
||||
for _, e := range request.InputRoomEvents {
|
||||
inputRoomEvent := e
|
||||
roomID := inputRoomEvent.Event.RoomID()
|
||||
|
|
Loading…
Reference in a new issue