Parcourir la source

AsyncConnection remove $_globalEvent

walkor il y a 10 ans
Parent
commit
549a21bd0d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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');