JAXLPipe::__destruct PHP Method

__destruct() public method

public __destruct ( )
    public function __destruct()
    {
        if (is_resource($this->fd)) {
            fclose($this->fd);
        }
        if (file_exists($this->get_pipe_file_path())) {
            unlink($this->get_pipe_file_path());
        }
        JAXLLogger::debug("unlinking pipe file");
    }