Date: 05/08/05 (C Sharp) Keywords: no keywords I'm writing an application that copies files from one place to another, and for obvious reasons, I'm using a background thread to do the actual copying. One thing I've run into is that if I exit the application while the background thread is copying a big file, the UI closes, but the background thread continues to execute. Does this mean I need to override the application.exit method to kill the background thread, or what is the best way to handle this? Source: http://www.livejournal.com/community/csharp/28966.html
|