title: Visual Studio 2010 Pro, not ending debug mode on application close
body: <p>When I run my code within VS, when I enter certain methods, upon ending the application (closing the form) been debugged, VS does not end the debug session automatically forcing me to end it manually. </p>
  
  <p>This doesn't always happen, the results are consistent with certain windows / classes loaded when the application is run within VS. </p>
  
  <p>I want to know why this may be, I'm assuming its an indication of a file not been closed in my managed code or 'something' like that. </p>
  
  <p>Why might this occur and how can I trace and fix it?</p>