gitlab #674
Change-Id: Ib2e6d13346576f6852f30fa31c08adc0b638db13
}
// HN: added to decrease memory leaks
eventHandlerStack = null;
+ hintStack.clear();
hintStack = null;
canvasNode.cleanup();
canvasNode = null;
list.remove(threadAccess, listener);
if (list.isEmpty()) keyListeners.remove(key);
}
+
+ public void clear() {
+ keyListeners.clear();
+ listeners.clear();
+ }
}
}};
}
+ public void clear() {
+ super.clear();
+ stack.clear();
+ }
+
}
public String toString() {
return EString.implode(snapshotArray, "\n");
}
+
+ public void clear() {
+ if (list != null) {
+ list.clear();
+ }
+ if (listeners != null) {
+ listeners.clear();
+ }
+ snapshotArray = createArray(0);
+ }
}