From db7e16c35c8b8991ba8bd01493b5bd85ae4131cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 11 Aug 2023 02:24:22 +0800 Subject: [PATCH] qqq --- Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server.php b/Server.php index 2388850..26682dd 100644 --- a/Server.php +++ b/Server.php @@ -45,7 +45,6 @@ class Server public EventDispatch $dispatch, public Router $router) { - on(OnWorkerStop::class, [Timer::class, 'clearAll'], 9999); } @@ -65,6 +64,7 @@ class Server */ public function start(): void { + on(OnWorkerStop::class, [Timer::class, 'clearAll'], 9999); if (\config('reload.hot', false) === true) { $this->manager->addProcess(HotReload::class); } else {