郑晓宇 %!s(int64=6) %!d(string=hai) anos
pai
achega
665cd7e9c2
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      app/Console/Commands/robot.php

+ 1 - 2
app/Console/Commands/robot.php

@@ -150,7 +150,6 @@ class robot extends Command
                 //结算
                 if($json_data->type == 'round_end'){
                     echo "回合结束,已结算";
-                    exit;
                 }
 
                 //结算
@@ -168,7 +167,7 @@ class robot extends Command
                     ungroup($room_id);
                     Gateway::unbindUid($client_id, $user->user_id);
                     closeClient($client_id);
-                    exit;
+                    Worker::stopAll();
                 }
 
             };