소스 검색

AsyncConnection remove $_globalEvent

walkor 10 년 전
부모
커밋
549a21bd0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');