Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
embed: fix blocking Close before gRPC server start
If 'StartEtcd' returns before starting gRPC server (e.g. mismatch snapshot, misconfiguration), receiving from grpcServerC blocks forever. This patch just closes the channel to not block on grpcServerC, and proceeds to next stop operations in Close. This was masking the issues in #7834 Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
- Loading branch information