Skip to content

Commit

Permalink
alts: fix lazychannel close (grpc#6475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiangtao Li authored and ericgribkoff committed Dec 6, 2019
1 parent dda2f31 commit c77237a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -297,7 +297,7 @@ synchronized Channel get() {
/** Returns the cached channel to the channel pool. */
synchronized void close() {
if (channel != null) {
channelPool.returnObject(channel);
channel = channelPool.returnObject(channel);
}
}
}
Expand Down

0 comments on commit c77237a

Please sign in to comment.