Thread
:
Garbage Collection
View Single Post
#
6
07-16-2007, 07:52 PM
cbk1994
the fake one
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
What if the you did something like
PHP Code:
n
= new
TStaticVar
();
n
.
join
(
"functions"
);
n
.
start
();
n
=
null
;
When the garbage collection is run, would it remove the TStaticVar since it holds no references, even if it is still running?
__________________
cbk1994
View Public Profile
View GraalOnline Profile
Visit cbk1994's homepage!
Find all posts by cbk1994