改名
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user