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