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)();
 	}