Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait until reader go exits in Close()
It was not guaranteed that when `transport.Close()` returned, the reader go-routines terminated. All the other channels like, `ctxDone`, `writerDone`, `goAway` are being waited upon for a signal To ensure that `transport.Close()` only return after the reader go-routine terminates: - Wait for the `readerDone` channel to signal the completion This fixes: grpc#2869 RELEASE NOTES: grpc: Wait until reader go routine exits in transport.Close()
- Loading branch information