Closed jdupl123 closed 3 years ago
fix https://github.com/threeaccents/revai-go/issues/11
When we only have one sender we should let the sender close the channel when it is done. As explained in https://go101.org/article/channel-closing.html
Closing the socket will finish trigger the read loop to finish.
Creating as a draft as I haven't tested this fix.
@jdupl123 I made you a collaborator on the project https://github.com/threeaccents/revai-go/invitations
Thanks @threeaccents
fix https://github.com/threeaccents/revai-go/issues/11
When we only have one sender we should let the sender close the channel when it is done. As explained in https://go101.org/article/channel-closing.html
Closing the socket will finish trigger the read loop to finish.
Creating as a draft as I haven't tested this fix.