VS Projects keep running after I stop debugging

  • Thread starter Thread starter Burt
  • Start date Start date
B

Burt

I'm running VS 2003 on a W3K server. On at least three C# web apps,
when I stop debugging in VS, the application continues to run.
Sometimes they also appear to "start over" and rerun when finished. The
only way to stop it is to kill w3wp.exe.

Any ideas on how to fix this?

Many thanks,

Burt
 
If it's a multi-threaded app, then you could have one or more threads
still running when you close the application, which can exhibit the
behaviour you described. If you are using Threads, you can set the
Thread.IsBackground property to true, which will cause the threads to
exit when your app exits.

HTH
 
Back
Top