From 76acd359abf5953c851c105b0b58bff07d717f3e Mon Sep 17 00:00:00 2001 From: amiraj Date: Thu, 1 Aug 2019 16:01:36 -0700 Subject: [PATCH] a minor bug in schedule method! --- Methods/schedule.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/Methods/schedule.groovy b/Methods/schedule.groovy index fac8d95..307b221 100644 --- a/Methods/schedule.groovy +++ b/Methods/schedule.groovy @@ -15,7 +15,6 @@ def schedule(String time, String nameOfFunction) { //} else { // delay = inputTime-currentTime //} - timersFuncList.add(nameOfFunction) timersList.add(new SimulatedTimer()) def task = timersList[timersFuncList.indexOf(nameOfFunction)].runAfter(/*delay*1000*0*/0) { -- 2.34.1