Killing all threads that opened by application
This shouldn’t be happening, and if it is, you’re trying to address it the wrong way. When your application exits, the .NET Framework will automatically kill any threads whose IsBackground property is set to “True”. Designate each of your worker threads as background threads, and you won’t have this problem anymore. Taking advantage of the … Read more