diff --git a/haxe/Timer.hx b/haxe/Timer.hx index a4b1d05fe..fcfaa1f54 100644 --- a/haxe/Timer.hx +++ b/haxe/Timer.hx @@ -1,5 +1,5 @@ package haxe; -#if (!neko && !cpp && !nodejs && !cs) +#if !lime_cffi // Original haxe.Timer class @@ -299,35 +299,6 @@ class Timer { } - @:noCompletion @:dox(hide) public static function __checkTimers () { - - var now = getMS (); - var foundNull = false; - var timer; - - for (i in 0...sRunningTimers.length) { - - timer = sRunningTimers[i]; - - if (timer != null) { - - timer.__check (now); - - } - - foundNull = (foundNull || sRunningTimers[i] == null); - - } - - if (foundNull) { - - sRunningTimers = sRunningTimers.filter (function (val) { return val != null; }); - - } - - } - - }