Well the popup is created in the command as a local var of a
function - so not there.
And closed in a mediator - but is the mediator is cleared out of
the heap the things he points to should be removed as well.
There is the stylemanager that pairs a view with his skin but i
doubt he is envolved with this issue.
Really out of ideas here...
Is there a way to check out references of an object that is
allocated in the memory in a given time? This kind of a trick could
really give us some clues.
Are you creating a local function in the same function you're creating
the popup in? If so, that would create a closure holding on to the
popup. In that case, either create the function outside and just
reference it in the outer function or explicitly null the var
referencing the popup.
And yes: You can see references to all live objects in the Flash
Builder or the FDT profiler. See the respective documentation for
Will check the references thing via profiling.THANKS :)
About the local function : Im creating and adding the popup at
"execute" of a command as a local var cause i need it to initiate a
mediator based on that view. But the var is local to a function
that gets cleared after the command does his thing. So no
references should be present there. Wrong?
No, having an external reference to an object that you also hold a
reference to from inside the popup isn't going to be a problem.
While generally, asking questions that are only loosely related to
Robotlegs is of course fine, but please understand that we'd very much
like for people to make it clear when they don't suspect that the
problem really is related to Robotlegs. For one, it prevents us from
looking in wrong direction when trying to help you.