Skip to content

Commit

Permalink
double import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Oct 29, 2015
1 parent c8630dc commit ba7f1a5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deps/net.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,15 @@ function Socket:connect(...)
return self
end

local i = 0
p('net.lua')
timer.setInterval(5000, function()
p(string.format('*** walk start %d ***', i))
uv.walk(p)
p(string.format('*** walk end %d ***', i))
i = i + 1
end)

function Socket:destroy(exception, callback)
callback = callback or function() end
if self.destroyed == true or self._handle == nil then
Expand Down

0 comments on commit ba7f1a5

Please sign in to comment.