S
Stefan Borst
Hello,
i want to delete ALL references of one object. So, i first want to get all
references of one object and then delete them(the refernces). A pseudocode
could look like this:
public bool deleteAllReferences(object obj)
{
allReferences = getAllReferences(obj);
foreach(reference in allReferences)
{
deleteReference(reference);
}
retrun true;
}
The GarbageCollector should have this knowledge, but how can I use it?
Thank you very much for your help
Stefan
i want to delete ALL references of one object. So, i first want to get all
references of one object and then delete them(the refernces). A pseudocode
could look like this:
public bool deleteAllReferences(object obj)
{
allReferences = getAllReferences(obj);
foreach(reference in allReferences)
{
deleteReference(reference);
}
retrun true;
}
The GarbageCollector should have this knowledge, but how can I use it?
Thank you very much for your help
Stefan