Skip to content

Commit

Permalink
alts: fix lazychannel close (#6475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiangtao Li committed Dec 2, 2019
1 parent 06dd24e commit 0dfda93
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 0dfda93

Please sign in to comment.