Sign in to follow this  

Thread not stopped after program close.

Recommended Posts

I'm using C# .Net in VS 2008.

I want to close all my thread before the main form is closed.
I've used OnClosed event and there I Aborted all my threads.
But still [b]sometimes[\b], the task manager shows my program running. And I have to close it using 'End Process'.

Why my threads are still running though I've aborted them?
Any idea?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this