Application remains in system
Posted: Fri May 03, 2013 12:41 am
Hi,
The following sometimes happens:
- In my application I'm using a lot of threads.
- Sometimes a thread is getting a problem, in my case I can simulate it by de-connecting the network plug. The thread is hanging because of the timeout on the network.
- I close the application with the normal procedure.
When I check the system afterwards, my application remains in the system processes. It looks as that blocked thread stays somewhere in memory.
Can I check all the threads when closing my application, and can I force them to close/destroy?
The following sometimes happens:
- In my application I'm using a lot of threads.
- Sometimes a thread is getting a problem, in my case I can simulate it by de-connecting the network plug. The thread is hanging because of the timeout on the network.
- I close the application with the normal procedure.
When I check the system afterwards, my application remains in the system processes. It looks as that blocked thread stays somewhere in memory.
Can I check all the threads when closing my application, and can I force them to close/destroy?