mirror of https://github.com/apache/activemq.git
FilePendingMessageCursor was being added twice to the MemoryUsage
which resulted in a memory leak git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581784 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c256dcf9e8
commit
3c1a8474f9
|
@ -252,7 +252,6 @@ public class FilePendingMessageCursor extends AbstractPendingMessageCursor imple
|
|||
|
||||
public void setSystemUsage(SystemUsage usageManager) {
|
||||
super.setSystemUsage(usageManager);
|
||||
usageManager.getMemoryUsage().addUsageListener(this);
|
||||
}
|
||||
|
||||
public void onUsageChanged(Usage usage, int oldPercentUsage, int newPercentUsage) {
|
||||
|
|
Loading…
Reference in New Issue