A
Andrew
Hello, friends,
In my app, after a user selects a document, I create a new thread to print
this document so that this user may continue to do his/her work.
Thread thread = new Thread(new
ThreadStart(bulkPrint.bulkPrint));
thread.SetApartmentState(ApartmentState.STA);
thread.IsBackground = true;
thread.Start();
I currently leave this thread like this without explicitly terminate it.
I don't feel right since I think it should be terminated somehow.
What should I do and how? Thanks a lot!
In my app, after a user selects a document, I create a new thread to print
this document so that this user may continue to do his/her work.
Thread thread = new Thread(new
ThreadStart(bulkPrint.bulkPrint));
thread.SetApartmentState(ApartmentState.STA);
thread.IsBackground = true;
thread.Start();
I currently leave this thread like this without explicitly terminate it.
I don't feel right since I think it should be terminated somehow.
What should I do and how? Thanks a lot!