M
MaSTeR
Hello,
I have an object that at some point creates a thread to run one of its
method.
I create that object within an application and after a while I set its
reference to null to let the gc reclaim it. now the problem is that I want
this thread to stop after the object is being deleted but this object sits
around because its main thread and the one it creates reference each other
even though me, from my application I have not reference of those objects.
Now calling dispose it's not an option because those object get created via
a COM and I can't change that to call an Unload method or whatever.
Any ideas ?
Thanks everyone.
I have an object that at some point creates a thread to run one of its
method.
I create that object within an application and after a while I set its
reference to null to let the gc reclaim it. now the problem is that I want
this thread to stop after the object is being deleted but this object sits
around because its main thread and the one it creates reference each other
even though me, from my application I have not reference of those objects.
Now calling dispose it's not an option because those object get created via
a COM and I can't change that to call an Unload method or whatever.
Any ideas ?
Thanks everyone.