appcelerator/titanium_mobile — pull request #5449 by salachi (2014-03-11 14:57:57+00:00)
Title: TIMOB-14874-Check for closed state before closing the socket again

Test case looks ok to me, it is that the 'closed' state is not properly checked before closing the socket again.

https://jira.appcelerator.org/browse/TIMOB-14874