Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upchannel_mpsc::MsgReceiver cannot shutdown gracefully. #698
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The render backend loops indefinitely until an error is returned from MsgReceiver::recv. The latter always returns Ok, and unwraps if its mpsc::Receiver returns an error. So the loop goes on forever until a panic is triggered by the unwrap call in recv.