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:
Robert Davies 2007-10-04 06:18:49 +00:00
parent c256dcf9e8
commit 3c1a8474f9
1 changed files with 0 additions and 1 deletions

View File

@ -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) {