From: donghee yang Date: Fri, 17 Aug 2012 07:03:21 +0000 (+0900) Subject: [Title] Modified the way to set next expired-time in scheduler X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b250262b985b678ee3fb1bdfa61e3a6275c49e1;p=sdk%2Ftools%2Fsdk-build.git [Title] Modified the way to set next expired-time in scheduler --- diff --git a/src/common/ScheduledActionHandler.rb b/src/common/ScheduledActionHandler.rb index 9a51cd0..2c226d3 100644 --- a/src/common/ScheduledActionHandler.rb +++ b/src/common/ScheduledActionHandler.rb @@ -78,7 +78,9 @@ class ScheduledActionHandler # if periodic action, renew the time # else remove it from list if action.period != 0 then - action.time = action.time + action.period + while current_time > action.time + action.time = action.time + action.period + end else @actions.delete(action) end