mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-22 16:24:10 +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
@ -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 New Issue
Block a user