Yuri Leikind wrote: >> > 2) What else must be done to the FoX object that we want to delete, besides >> > parent_obj.removeChild(obj_to_remove) >> >> I guess you can try forcing the garbage collector to run immediately >> after the call to removeChild(), i.e. >> >> parent.removeChild(child) >> GC.start > > > Perhaps some variable in my application (or in the FXRuby layer...) > still points to the object, and GC.start doesn't help. I'll take a more > thourough look now, as I see now where the problem might be. Also keep in mind that the garbage collector is conservative. You may not assume that every unreferenced object is actually destroyed. Regards, Tobias