mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4181 - remove the browser imidiatelly when finished
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1417331 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db1e6d1cb7
commit
5bfbc542b1
|
@ -1530,6 +1530,7 @@ public class Queue extends BaseDestination implements Task, UsageListener {
|
|||
// are we done browsing? no new messages paged
|
||||
if (!added) {
|
||||
browser.decrementQueueRef();
|
||||
browserDispatches.remove(browserDispatch);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LOG.warn("exception on dispatch to browser: " + browserDispatch.getBrowser(), e);
|
||||
|
|
Loading…
Reference in New Issue