RedissonCountDownLatch some fixes

pull/6/head
Nikita 11 years ago
parent c5e896d408
commit 62879d10f8

@ -123,8 +123,8 @@ public class RedissonCountDownLatch implements RCountDownLatch {
RedisConnection<Object, Object> conn = redisson.connect(); RedisConnection<Object, Object> conn = redisson.connect();
try { try {
conn.multi(); conn.multi();
conn.publish(getChannelName(), zeroCountMessage);
conn.del(name); conn.del(name);
conn.publish(getChannelName(), zeroCountMessage);
conn.exec(); conn.exec();
} finally { } finally {
conn.close(); conn.close();

Loading…
Cancel
Save