From 62879d10f87e592282346b0c77582a44466a2fd1 Mon Sep 17 00:00:00 2001 From: Nikita Date: Tue, 7 Jan 2014 10:37:41 +0400 Subject: [PATCH] RedissonCountDownLatch some fixes --- src/main/java/org/redisson/RedissonCountDownLatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/redisson/RedissonCountDownLatch.java b/src/main/java/org/redisson/RedissonCountDownLatch.java index 21c02c58d..5ecd714d4 100644 --- a/src/main/java/org/redisson/RedissonCountDownLatch.java +++ b/src/main/java/org/redisson/RedissonCountDownLatch.java @@ -123,8 +123,8 @@ public class RedissonCountDownLatch implements RCountDownLatch { RedisConnection conn = redisson.connect(); try { conn.multi(); - conn.publish(getChannelName(), zeroCountMessage); conn.del(name); + conn.publish(getChannelName(), zeroCountMessage); conn.exec(); } finally { conn.close();