What steps will reproduce the problem?
1. Create any scene with a view
2. Add the view to the display list
3. Remove the view from the display list
4. Remove all references to the scene, view or anything in it
What is the expected output? What do you see instead?
The view and scene should be able to be garbage collected. Instead, because the
View3D class adds a listener to stage and doesn't remove it, a reference
remains and it all stays in memory.
What version of the product are you using? On what operating system?
Away3DLite
Please provide any additional information below.
Attached is a fixed version of View3D, with a REMOVED_FROM_STAGE listener added
to remove the stage event listener when needed. This solves the problem.
Original issue reported on code.google.com by thomas.v...@gmail.com on 13 Aug 2010 at 7:59
Original issue reported on code.google.com by
thomas.v...@gmail.com
on 13 Aug 2010 at 7:59Attachments: