Nicolas Cannasse пре 18 година
родитељ
комит
8c271cf44d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      std/haxe/remoting/FlashJsConnection.hx

+ 1 - 1
std/haxe/remoting/FlashJsConnection.hx

@@ -36,7 +36,7 @@ class FlashJsConnection extends haxe.remoting.AsyncConnection {
 				onData(v.r);
 		});
 		haxe.Timer.delayed(function() {
-			pendingCalls.pop()();
+			pendingCalls.shift()();
 		},0)();
 	}