appcelerator/titanium_mobile — pull request #637 by sptramer (2011-11-06 22:21:20+00:00)
Title: [TIMOB-5957] Properly clean up socketThread on connection error

We need to ensure that for errors in the connection process, the socket's thread information is cleared before exiting the thread itself.