projects
/
smartthings-infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
168962149f4a14c8840169d6af475f22f047aab0
[smartthings-infrastructure.git]
/
Methods
/
unschedule.groovy
1
/////////////////////////////////////////////////////////////////////
2
////unschedule(func)
3
def unschedule(Closure functionToUnschedule) {
4
for (int i = 0;i < timersFuncList.size();i++) {
5
if (timersFuncList[i] == functionToUnschedule) {
6
timersList[i].cancel()
7
}
8
}
9
}