mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4181 - don't let queue refs go negative
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1417333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5bfbc542b1
commit
75f8f6970b
|
@ -82,7 +82,9 @@ public class QueueBrowserSubscription extends QueueSubscription {
|
|||
}
|
||||
|
||||
synchronized public void decrementQueueRef() throws Exception {
|
||||
queueRefs--;
|
||||
if (queueRefs > 0) {
|
||||
queueRefs--;
|
||||
}
|
||||
checkDone();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue