Merge branch 'master' into dev

This commit is contained in:
Cloud Wu
2014-08-25 10:16:06 +08:00
2 changed files with 8 additions and 0 deletions

View File

@@ -145,6 +145,8 @@ local function connect(id, func)
suspend(s)
if s.connected then
return id
else
socket_pool[id] = nil
end
end