public function cleanup()
    {
        try {
            foreach ($this->locks as $lock) {
                $lock->release();
            }
        } catch (LockReleasingException $e) {
            // noop
        } finally {
            $this->locks = [];
        }
    }
public function cleanup()
    {
        try {
            foreach ($this->locks as $lock) {
                $lock->release();
            }
        } catch (LockReleasingException $e) {
            // noop
        } finally {
            $this->locks = [];
        }
    }
public function cleanup ( ) { try { foreach ( $ this -> locks as $ lock ) { $ lock -> release ( ) ; } } catch ( LockReleasingException $ e ) { // noop } finally { $ this -> locks = [ ] ; } }
Release all locks.

{@inheritdoc}
Release all locks .