| 107 | } |
| 108 | |
| 109 | static void kill(TIMER_ID timerId) |
| 110 | { |
| 111 | std::string key = StringUtils::format("LSTMR#%p", timerId); |
| 112 | Director::getInstance()->getScheduler()->unschedule(key, STIMER_TARGET_VALUE); |
| 113 | } |
| 114 | YASIO_LUA_API void clear() |
| 115 | { |
| 116 | Director::getInstance()->getScheduler()->unscheduleAllForTarget(STIMER_TARGET_VALUE); |
nothing calls this directly
no test coverage detected