Possible Memory Leak in NatCombo [message #1497432] |
Wed, 03 December 2014 20:32 |
Arye Shemesh Messages: 37 Registered: November 2012 |
Member |
|
|
Hi,
First, thanks for this project, and for the time you invest in maintaining it - it's great.
I'm using version 1.1.1.
I think there's a possible memory leak from the NatCombo class.
In Line 284 a listener is added to the shell:
getShell().addListener(SWT.Move, new Listener() {
@Override
public void handleEvent(Event event) {
calculateBounds();
}
});
This listener is not removed when the nattable is disposed, and using the MAT plugins I found that it references up to the config registry with everything in it (see attached screenshot, it goes up to my model objects, which are memory consuming).
Is this a bug? Or is there a reason I'm not aware of for this behavior?
Thanks,
Arye
[Updated on: Wed, 03 December 2014 21:18] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04525 seconds