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

hunterkou

脚本隔一会就报这个错误,看起来像是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

5479 3 0
3个回答

damao
  • hunterkou 2020-04-01

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

hunterkou

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

  • damao 2020-04-01

    我看文档中没有swoole相关的介绍,估计是个隐藏功能吧

six

升级下workerman就好了。

  • 暂无评论
年代过于久远,无法发表回答
×
🔝