lithium\storage\session\strategy\Encrypt::__destruct()

public method
This method is deprecated.

Destructor. Closes the crypto resource when it is no longer needed.

Returns

void

Source

	public function __destruct() {
		if (is_resource($this->_mcryptResource)) {
			mcrypt_module_close($this->_mcryptResource);
		}
	}