workerman自带的使用swoole event的问题 ,Uncaught Swoole\ExitException: swoole exit in exit with status 65280

0

脚本隔一会就报这个错误,看起来像是swoole捕获的exit异常。 可是为什么会这样呢? 是不兼容吗 ?
我的swoole版本是 4.X的


Swoole\ExitException: swoole exit in /www/wwwroot/test/vendor/workerman/workerman/Worker.php:1681
Stack trace:


0 /www/wwwroot/test/app/Console/Commands/Test.php(153): Workerman\Worker::stopAll()


1 [internal function]: App\Console\Commands\Test->App\Console\Commands\Test{closure}(Object(Workerman\Connection\AsyncTcpConnection))


2 /www/wwwroot/test/vendor/workerman/workerman/Connection/TcpConnection.php(915): call_user_func(Object(Closure), Object(Workerman\Connection\AsyncTcpConnection))


3 /www/wwwroot/test/vendor/workerman/workerman/Connection/TcpConnection.php(820): Workerman\Connection\TcpConnection->destroy()


4 /www/wwwroot/test/app/Console/Commands/Quote/GetGxQuota.php(103): Workerman\Connection\TcpConnection->close()


5 [internal function]: App\Console\Commands\Test->App\Console\Commands\Test{closure}()


6 /www/wwwroot/test/vendor/workerman/workerman/Events/Swoole.php(61): call_user_func_array(Object(Closure), Array)


worker[test-command:25703] exit with status 65280

已邀请:

damao - phper

赞同来自:

hunterkou

赞同来自:

谢谢, 如果会有这种不兼容的情况,作者怎么没有提示。。还是我没有找到提示在哪里。

six

赞同来自:

升级下workerman就好了。

要回复问题请先登录注册