This commit is contained in:
2020-09-09 18:50:46 +08:00
parent 3d29ae08c4
commit e58e388d3b
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class OnShutdown extends Callback
*/
public function onHandler(Server $server)
{
// Coroutine::create([$this,'system_mail'],'server shutdown~');
$this->system_mail('server shutdown~');
$event = Snowflake::app()->getEvent();
if (!$event->exists(Event::SERVER_SHUTDOWN)) {
return;