public static function addClearTagOnShutdown($tag) { self::setWriteLock(); self::$_clearTagsOnShutdown[] = $tag; }