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
|
@ -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