I have a multithreaded application that I'm having problems terminating. As far as I can see, I'm terminating all my threads when I exit the application, but I am still seeing the application in the list of open applications on the phone, and when I switch to it, the screen just dims and nothing happens. I also cannot kill the application from the list of open apps.
My main() function is definitely finishing, so there's something else that isn't. I'm using qt_OfferIapDialog() to connect to an internet access point - do I need to do something to close this connection?
Does anyone have any suggestions of anything else I could try?