public static function __shutdownCleanup()
    {
        $now = time();

        if (is_array(self::$lockFiles)) {
            foreach (self::$lockFiles as $lockFile => $meta) {
                if (($now - $meta['time'] > $meta['ttl']) && file_exists($lockFile)) {
                    unlink($lockFile);
                }
            }
        }
    }
public static function __shutdownCleanup()
    {
        $now = time();

        if (is_array(self::$lockFiles)) {
            foreach (self::$lockFiles as $lockFile => $meta) {
                if (($now - $meta['time'] > $meta['ttl']) && file_exists($lockFile)) {
                    unlink($lockFile);
                }
            }
        }
    }
public static function __shutdownCleanup ( ) { $ now = time ( ) ; if ( is_array ( self :: $ lockFiles ) ) { foreach ( self :: $ lockFiles as $ lockFile => $ meta ) { if ( ( $ now - $ meta [ 'time' ] > $ meta [ 'ttl' ] ) && file_exists ( $ lockFile ) ) { unlink ( $ lockFile ) ; } } } }
Releases all locks on expired files.

@since Symphony 2.2.2
Releases all locks on expired files .