public function cleanup()
    {
        // unlock everything
        foreach ($this->locks as $lock) {
            flock($lock, LOCK_UN);
            fclose($lock);
        }

        $this->locks = [];
    }
public function cleanup()
    {
        // unlock everything
        foreach ($this->locks as $lock) {
            flock($lock, LOCK_UN);
            fclose($lock);
        }

        $this->locks = [];
    }
public function cleanup ( ) { // unlock everything foreach ( $ this -> locks as $ lock ) { flock ( $ lock , LOCK_UN ) ; fclose ( $ lock ) ; } $ this -> locks = [ ] ; }
Cleanups storage.
Cleanups storage .