mirror of https://github.com/grpc/grpc-java.git
Remove extraneous shutdown condition in NettyClientTransport
We didn't do the extraneous check in notifyTerminated()...
This commit is contained in:
parent
6236968d4b
commit
be965b86ab
|
@ -227,9 +227,7 @@ class NettyClientTransport implements ClientTransport {
|
|||
boolean notifyShutdown;
|
||||
synchronized (this) {
|
||||
notifyShutdown = !shutdown;
|
||||
if (!shutdown) {
|
||||
shutdown = true;
|
||||
}
|
||||
shutdown = true;
|
||||
}
|
||||
if (notifyShutdown) {
|
||||
listener.transportShutdown(status);
|
||||
|
|
Loading…
Reference in New Issue