Can't gc a node removed from its scene

Werner Lehmann lehmann at media-interactive.de
Wed Feb 26 14:00:09 PST 2014


Hi,

I have removed a node from its scene. Node.scene and Node.parent both 
are null. However, inner classes of the Scene seem to keep a reference:

Scene.ClickGenerator.pressedTargets
Scene.ClickGenerator.releasedTargets
Scene.MouseHandler.pdrEventTargets

See http://imgur.com/L8dRQDW for a strong reference chain example. Any 
idea how I can have this cleaned up? Thx... (this is on J7 btw)

Werner


More information about the openjfx-dev mailing list