WP_Image_Editor_Imagick::__destruct()
Contents
Description Description
Source Source
File: wp-includes/class-wp-image-editor-imagick.php
public function __destruct() {
if ( $this->image instanceof Imagick ) {
// we don't need the original in memory anymore
$this->image->clear();
$this->image->destroy();
}
}
Expand full source code Collapse full source code View on Trac