Browse Source

fix G/W closeClient

walkor 10 năm trước cách đây
mục cha
commit
3da15fc44d
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      GatewayWorker/Lib/Gateway.php
  2. 1 1
      Workerman/Worker.php

+ 1 - 1
GatewayWorker/Lib/Gateway.php

@@ -159,7 +159,7 @@ class Gateway
    {
        if($client_id === Context::$client_id)
        {
-           return self::kickCurrentClient();
+           return self::closeCurrentClient();
        }
        // 不是发给当前用户则使用存储中的地址
        else

+ 1 - 1
Workerman/Worker.php

@@ -21,7 +21,7 @@ class Worker
      * 版本号
      * @var string
      */
-    const VERSION = '3.0.6';
+    const VERSION = '3.0.7';
     
     /**
      * 状态 启动中