提交 e8ced7c6 编写于 作者: N Nikita Koksharov

refactoring

上级 cf372193
......@@ -248,7 +248,8 @@ public class RedisConnection implements RedisCommands {
private void close() {
CommandData<?, ?> command = getCurrentCommand();
if (command != null && command.isBlockingCommand()) {
if (!isActive()
|| (command != null && command.isBlockingCommand())) {
channel.close();
} else {
RFuture<Void> f = async(RedisCommands.QUIT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册