Hallo,
I've written a script which is listing on a TCP port and wait until a client connect. This use the function "AcceptTcpClient" from the class TcpListener and run in a own Thread.
Until here there is no problem and works very well.
But when I close my application with the action "Close Application" from a Button, the thread will continue listening. This has the bad consequence, that the GUI is closed and the Application will not restart.
Is there a way to get notified like the "Created"-Event to stop all running threads in the background?
Greetings
Programmnix
Appllication will not closed correctly
Re: Appllication will not closed correctly
Hello,
We understand that this is a very old post. To help solve this we would need to look closer at your program and help tailor the script to not lock up. If there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690. Thank you.
We understand that this is a very old post. To help solve this we would need to look closer at your program and help tailor the script to not lock up. If there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690. Thank you.
Best regards,
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us