public function destroy()
    {
        if ($this->resource) {
            imagedestroy($this->resource);
        }

        $this->resource = null;

        return $this;
    }
public function destroy()
    {
        if ($this->resource) {
            imagedestroy($this->resource);
        }

        $this->resource = null;

        return $this;
    }
public function destroy ( ) { if ( $ this -> resource ) { imagedestroy ( $ this -> resource ) ; } $ this -> resource = null ; return $ this ; }
Destroys the current resource.

@access public
@return \GImage\Image
Destroys the current resource .