concrete/src/Application/Application.php
public function shutdown($options = [])
    {
        \Events::dispatch('on_shutdown');

        if ($this->isInstalled()) {
            if (!isset($options['jobs']) || $options['jobs'] == false) {
                $this->handleScheduledJobs();
            }

            foreach (\Database::getConnections() as $connection) {
                $connection->close();
            }
        }
        exit;
    }
public function shutdown($options = [])
    {
        \Events::dispatch('on_shutdown');

        if ($this->isInstalled()) {
            if (!isset($options['jobs']) || $options['jobs'] == false) {
                $this->handleScheduledJobs();
            }

            foreach (\Database::getConnections() as $connection) {
                $connection->close();
            }
        }
        exit;
    }
public function shutdown ( $ options = [ ] ) { \ Events :: dispatch ( 'on_shutdown' ) ; if ( $ this -> isInstalled ( ) ) { if ( ! isset ( $ options [ 'jobs' ] ) || $ options [ 'jobs' ] == false ) { $ this -> handleScheduledJobs ( ) ; } foreach ( \ Database :: getConnections ( ) as $ connection ) { $ connection -> close ( ) ; } } exit ; }
Turns off the lights.

@param array $options Array of options for disabling certain things during shutdown
Add `'jobs' => true` to disable scheduled jobs
Add `'log_queries' => true` to disable query logging
Turns off the lights .