Microsoft
Software
Hardware
Network
Question : Orphan threads in .net, are they stopped by Garbage Collector?
If I have an object that has started a thread and at some point I have no references to my object, will the garbage collector also stop the thread as it garbage collects the object?
When the object is reclaimed, there will be no references to the thread object either, but I am unsure if the thread is orphaned and keeps running, or if the thread is stopped and reclaimed.
Answer : Orphan threads in .net, are they stopped by Garbage Collector?
The thread objects will be destroyed when the executable or application domain is terminated.
If your thread has not been aborted or completed its method (orphans), it will stay alive until your application is gone.
Random Solutions
Windows 7.0 Public Desktop Problem
Securing an MMO game against cheaters
SCCM Query for systems with a specific File Name & Specific Version of that file
How can execute an application asynchronously in a trigger/stored procedure?
VMWARE VMDK Guest Blue Screen
ASP.NET 2.0 Datalist and Paging
logon problem
Create Mail Merge in Word from Public Folder in Outlook
macro to unhide rows
PHP SESSION doesn't pass value to sub or upper directory on Linux