Hi all,
I need to pass parameters to a method running in a thread. To do this I have created a global object with variables I wish to pass to the method, and a method in which im going to use for my thread function.
my question is: after the thread is complete, im left with a global object that I cannot delete and is eating up memory, so how can I delete this object? Can I delete it from itself, or create another thread to delete it, etc?
Thanks all!!
vber
I need to pass parameters to a method running in a thread. To do this I have created a global object with variables I wish to pass to the method, and a method in which im going to use for my thread function.
my question is: after the thread is complete, im left with a global object that I cannot delete and is eating up memory, so how can I delete this object? Can I delete it from itself, or create another thread to delete it, etc?
Thanks all!!
vber