WP_Image_Editor_Imagick::__destruct PHP 메소드

__destruct() 공개 메소드

public __destruct ( )
    public function __destruct()
    {
        if ($this->image instanceof Imagick) {
            // we don't need the original in memory anymore
            $this->image->clear();
            $this->image->destroy();
        }
    }