I have an Edgelib app running on the iPhone that hangs on exit. The app looks like it has quit (the iPhone returns to its main icon menu), but in the background the app is actually hung trying to shutdown the socket connection. After this happens, rerunning the app then hangs on startup.
The stack trace looks like:
recvfrom
recv
ecNetSockShutdown
ClassEConnect::Disconnect
ClassEConnect::ReleaseConnection
ClassEConnect::Cleanup
ClassEConnect::~ClassEConnect
ClassEdge::~ClassEdge
...
The app does create a socket connection, but I cannot see what I can do to prevent the socket disconnect from hanging the app. Looks like it's trying to receive some data from the server before shutting down. Has anyone else seen anything like this before? Any suggestions?
Cheers,
Martin.
The stack trace looks like:
recvfrom
recv
ecNetSockShutdown
ClassEConnect::Disconnect
ClassEConnect::ReleaseConnection
ClassEConnect::Cleanup
ClassEConnect::~ClassEConnect
ClassEdge::~ClassEdge
...
The app does create a socket connection, but I cannot see what I can do to prevent the socket disconnect from hanging the app. Looks like it's trying to receive some data from the server before shutting down. Has anyone else seen anything like this before? Any suggestions?
Cheers,
Martin.