WC_Log_Handler_File::__destruct()
Destructor.
Contents
Description Description
Cleans up open file handles.
Source Source
File: includes/log-handlers/class-wc-log-handler-file.php
public function __destruct() { foreach ( $this->handles as $handle ) { if ( is_resource( $handle ) ) { fclose( $handle ); // @codingStandardsIgnoreLine. } } }