mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5aa8b30c0f
commit
4d480c9239
|
@ -179,7 +179,7 @@ public class TopicRegion extends AbstractRegion {
|
||||||
if (sub.isActive()) {
|
if (sub.isActive()) {
|
||||||
throw new JMSException("Durable consumer is in use");
|
throw new JMSException("Durable consumer is in use");
|
||||||
} else {
|
} else {
|
||||||
durableSubscriptions.get(key);
|
durableSubscriptions.remove(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
destinationsLock.readLock().lock();
|
destinationsLock.readLock().lock();
|
||||||
|
|
Loading…
Reference in New Issue