title: Can unreferenced objects still run if the garbage collector hasn't deleted them?
body: <p>If an object is waiting to be garbage collected, but contains a thread that was running when the last reference to the object was changed, will that thread still run and will the code still execute? So could you potentially have a bunch of ghost objects that should be deleted, but are having an effect on your code? How do you prevent this? Is there a way for an object to tell if it is waiting to be collected?</p>