Explorar o código

Bugfix mainloop (#8897)

Nicolas Cannasse %!s(int64=5) %!d(string=hai) anos
pai
achega
319fa77c84
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/haxe/MainLoop.hx

+ 1 - 1
std/haxe/MainLoop.hx

@@ -44,7 +44,7 @@ class MainEvent {
 		if (f == null)
 			return;
 		f = null;
-		nextRun = -1;
+		nextRun = Math.NEGATIVE_INFINITY;
 		if (prev == null)
 			@:privateAccess MainLoop.pending = next;
 		else