enhancement for process state

This commit is contained in:
crazywhalecc
2022-03-13 22:47:11 +08:00
parent 3c87abc6e8
commit 73b6b8045d
3 changed files with 97 additions and 47 deletions

View File

@@ -25,9 +25,6 @@ use ZM\Event\SwooleEvent;
*/
class OnMessage implements SwooleEvent
{
/**
* @noinspection PhpUnreachableStatementInspection
*/
public function onCall($server, Frame $frame) {
Console::debug("Calling Swoole \"message\" from fd=" . $frame->fd . ": " . TermColor::ITALIC . $frame->data . TermColor::RESET);
unset(Context::$context[Coroutine::getCid()]);