mirror of https://github.com/apache/activemq.git
Apply patch for https://issues.apache.org/activemq/browse/AMQ-1631
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1b6362ded
commit
3eb06105d3
|
@ -662,7 +662,9 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
|
|||
}
|
||||
}
|
||||
}
|
||||
deliveredMessages.clear();
|
||||
synchronized(deliveredMessages) {
|
||||
deliveredMessages.clear();
|
||||
}
|
||||
List<MessageDispatch> list = unconsumedMessages.removeAll();
|
||||
if (!this.info.isBrowser()) {
|
||||
for (MessageDispatch old : list) {
|
||||
|
|
Loading…
Reference in New Issue