lib/ezsession/classes/ezsession.php
static public function stop()
    {
        if ( !self::$hasStarted )
        {
             return false;
        }
        session_write_close();
        self::$hasStarted = false;
        self::$handlerInstance = null;
        return true;
    }
static public function stop()
    {
        if ( !self::$hasStarted )
        {
             return false;
        }
        session_write_close();
        self::$hasStarted = false;
        self::$handlerInstance = null;
        return true;
    }
static public function stop ( ) { if ( ! self :: $ hasStarted ) { return false ; } session_write_close ( ) ; self :: $ hasStarted = false ; self :: $ handlerInstance = null ; return true ; }
Writes session data and stops the session, if not already stopped.

@since 4.1
@return bool Depending on if session was stopped.
Writes session data and stops the session if not already stopped .