Remove extraneous shutdown condition in NettyClientTransport

We didn't do the extraneous check in notifyTerminated()...
This commit is contained in:
Eric Anderson 2015-08-10 10:43:24 -07:00
parent 6236968d4b
commit be965b86ab
1 changed files with 1 additions and 3 deletions

View File

@ -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);