* Memory handling - some more changes to improve object deallocation.

This commit is contained in:
LevelX2 2014-02-06 18:00:45 +01:00
parent 2427b714a1
commit df9c200753
8 changed files with 51 additions and 22 deletions

View file

@ -267,7 +267,9 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
for(MouseWheelListener ml: this.getMouseWheelListeners() ){
this.removeMouseWheelListener(ml);
}
// this holds reference to ActionCallback forever so set it to null to prevent
this.callback = null;
this.data = null;
}
private void setText(CardView card) {