From bb3d094283f29198bec4f24659b44890ee922b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 9 Mar 2021 19:41:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Events/OnShutdown.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/HttpServer/Events/OnShutdown.php b/HttpServer/Events/OnShutdown.php index b859a71d..d62ddad4 100644 --- a/HttpServer/Events/OnShutdown.php +++ b/HttpServer/Events/OnShutdown.php @@ -20,16 +20,15 @@ class OnShutdown extends Callback /** * @param Server $server - * @throws ComponentException * @throws Exception */ public function onHandler(Server $server) { $this->debug('server shutdown~'); - $this->system_mail('server shutdown~'); - $event = Snowflake::app()->getEvent(); - $event->trigger(Event::SERVER_SHUTDOWN); +// $this->system_mail('server shutdown~'); +// $event = Snowflake::app()->getEvent(); +// $event->trigger(Event::SERVER_SHUTDOWN); } }