Stop Thread and exit program

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
My program has a form and another worker class.

Worker class has a thread that receiving data, in loop:  socket.ReceiveFrom(....)
When I close the form the program (thread) is still running.

How to stop everything and exit?





View the full article
 
Back
Top