haxenme / nme

A cross-platform native backend for Haxe projects
MIT License
479 stars 122 forks source link

fix removing wrong timer #679

Closed nulld closed 3 years ago

nulld commented 3 years ago

fixes cases like this:

function perform() {
   haxe.Timer.delay(perform, 0);
}
nulld commented 3 years ago

this one fixes the problem too: https://github.com/haxenme/nme/pull/658/files