[Tutor] How to delete a class instance
Shitiz Bansal
shitizb at yahoo.com
Wed Mar 16 19:55:05 CET 2005
> In the code you have shown, I don't see any need for
> the queue. Just create the thread and start it.
> I don't think you have to keep a reference to it.
> I'm not sure, but I think the thread will be
> garbage collected when it completes. (Can anyone
> else confirm this?)
This does make sense,but how can we confirm that the
instance is not garbage collected before it ends?is
this the default behyaviour?
Shitiz
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Tutor
mailing list