libraries/ManiaLib/Gui/Manialink.php
final public static function endFrame()
    {
        if (!end(self::$parentNodes)->hasChildNodes()) {
            end(self::$parentNodes)->nodeValue = ' ';
        }
        array_pop(self::$parentNodes);
        array_pop(self::$parentLayouts);
        $frame = array_pop(self::$parentFrames);
        $frame->save();
    }
final public static function endFrame()
    {
        if (!end(self::$parentNodes)->hasChildNodes()) {
            end(self::$parentNodes)->nodeValue = ' ';
        }
        array_pop(self::$parentNodes);
        array_pop(self::$parentLayouts);
        $frame = array_pop(self::$parentFrames);
        $frame->save();
    }
Closes the current Manialink frame