Explorar el Código

AsyncConnection remove $_globalEvent

walkor hace 10 años
padre
commit
549a21bd0d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      GatewayWorker/BusinessWorker.php

+ 1 - 1
GatewayWorker/BusinessWorker.php

@@ -109,7 +109,7 @@ class BusinessWorker extends Worker
         {
             if(!isset($this->gatewayConnections[$addr]))
             {
-                $gateway_connection = new AsyncTcpConnection("GatewayProtocol://$addr", self::$_globalEvent);
+                $gateway_connection = new AsyncTcpConnection("GatewayProtocol://$addr");
                 $gateway_connection->remoteAddress = $addr;
                 $gateway_connection->onConnect = array($this, 'onConnectGateway');
                 $gateway_connection->onMessage = array($this, 'onGatewayMessage');