From fc20e54ac64569ad53118084a2b0615f84eed5b1 Mon Sep 17 00:00:00 2001 From: benoit-germain Date: Wed, 20 Jun 2012 12:10:54 +0300 Subject: fix abusive internal error message displayed when the timer lane decides it has to wake up in 0ms or when timer lane is cancelled. --- src/lanes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lanes.lua b/src/lanes.lua index b5d8792..dffd017 100644 --- a/src/lanes.lua +++ b/src/lanes.lua @@ -450,8 +450,8 @@ if first_time then assert( key and wakeup_at and period ) set_timer( linda, key, wakeup_at, period>0 and period or nil ) - elseif secs == 0 then -- got no value while block-waiting? - WR( "timer lane: no linda, aborted?") + --elseif secs == nil then -- got no value while block-waiting? + -- WR( "timer lane: no linda, aborted?") end end end )() -- cgit v1.2.3-55-g6feb