From 5b2e91b1edb3291e5e05d7c71f32db6bbd438f07 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 29 Aug 2021 04:48:41 +0800 Subject: [PATCH] 111 --- http-helper/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-helper/Command.php b/http-helper/Command.php index c8931a76..b82c0235 100644 --- a/http-helper/Command.php +++ b/http-helper/Command.php @@ -70,7 +70,7 @@ class Command extends \Console\Command { exec(PHP_BINARY . ' ' . APP_PATH . 'kiri.php runtime:builder'); - $this->eventProvider->on(OnWorkerStart::class, [WorkerDispatch::class, 'dispatch']); + $this->eventProvider->on(OnWorkerStart::class, [di(WorkerDispatch::class), 'dispatch']); return $manager->start(); }