public function onShutdown($graceful = false)
    {
        if ($this->pool) {
            return $this->pool->onShutdown($graceful);
        }
        return true;
    }
public function onShutdown($graceful = false)
    {
        if ($this->pool) {
            return $this->pool->onShutdown($graceful);
        }
        return true;
    }
public function onShutdown ( $ graceful = false ) { if ( $ this -> pool ) { return $ this -> pool -> onShutdown ( $ graceful ) ; } return true ; }
Called when application instance is going to shutdown.
@return boolean Ready to shutdown?
Called when application instance is going to shutdown .