public function finalize()
    {
        @flock($this->getFileResource(), LOCK_UN);
        @fclose($this->getFileResource());
        @unlink($this->getFileName());
    }
public function finalize()
    {
        @flock($this->getFileResource(), LOCK_UN);
        @fclose($this->getFileResource());
        @unlink($this->getFileName());
    }
public function finalize ( ) { @ flock ( $ this -> getFileResource ( ) , LOCK_UN ) ; @ fclose ( $ this -> getFileResource ( ) ) ; @ unlink ( $ this -> getFileName ( ) ) ; }
Finalizes pidfile.

Unlock pidfile and removes it.
Finalizes pidfile .