Skip to content

Commit

Permalink
Fix closed channel panic
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmtszr committed Jun 16, 2023
1 parent 1e4399d commit 1d08b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (s *stream) listen() {
default:
}
}
close(s.finishListenerBuffer)
s.finishListenerBuffer <- struct{}{}
}

func (s *stream) listenEnd() {
Expand Down

0 comments on commit 1d08b3c

Please sign in to comment.