-
Juliusz Chroboczek authored
Closing the channel could cause a panic if a c.write was pending. Instead, ensure we send a closeMessage to the writer, and cause the writer to exit when it receives a closeMessage.
fc9bbf20
Closing the channel could cause a panic if a c.write was pending. Instead, ensure we send a closeMessage to the writer, and cause the writer to exit when it receives a closeMessage.