possible NPE during watchdog reconnection fixed. #235

pull/236/merge
Nikita 10 years ago
parent 481b2e969c
commit f77034bb02

@ -42,13 +42,13 @@ public class RedisConnection implements RedisCommands {
public RedisConnection(RedisClient redisClient, Channel channel) {
super();
this.redisClient = redisClient;
this.channel = channel;
channel.attr(CONNECTION).set(this);
updateChannel(channel);
}
public void updateChannel(Channel channel) {
this.channel = channel;
channel.attr(CONNECTION).set(this);
}
public RedisClient getRedisClient() {

Loading…
Cancel
Save