workerman自帶的使用swoole event的問(wèn)題 ,Uncaught Swoole\ExitException: swoole exit in exit with status 65280
腳本隔一會(huì)就報(bào)這個(gè)錯(cuò)誤,看起來(lái)像是swoole捕獲的exit異常。 可是為什么會(huì)這樣呢? 是不兼容嗎 ?
我的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
3個(gè)回答
年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答