Hi everybody

The doubt I have is related to garbage collecting on the client side
when using Grid table.
I normally have a Grid that displays a clickable image that is
constructed like this.

        Image jump = stat.imageProvider.newForward();
        jump.addClickHandler(new JumpClick(index));
        workGrid.setWidget(index,colIndex,jump);

When a new set of data arrives the same cell is set again with a new,
fresh, image and the associated handler.
Assuming that I do not create a circular reference in the handler
(I.e. it is not stored anywhere else beside the jump) the question is:
Does the "old" jump and associated instance of JumpClick gets
correctly garbage collected ?

How can I verify that this is indeed happening ?

Thanks, Damiano





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to