Skip to content

Commit

Permalink
updated style
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ ONeal committed Jul 13, 2012
1 parent e962dcf commit db983f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/luvit/timer.lua
Expand Up @@ -173,7 +173,9 @@ local function setInterval(period, callback, ...)
end
local function clearTimer(timer)
if not timer then return end
if not timer then
return
end
if timer._onTimeout then
timer._onTimeout = nil
if timer.close then
Expand Down

0 comments on commit db983f2

Please sign in to comment.