diff --git a/src/XMLWriterPlus.php b/src/XMLWriterPlus.php index 3ba72b5..f6547b0 100644 --- a/src/XMLWriterPlus.php +++ b/src/XMLWriterPlus.php @@ -33,16 +33,6 @@ class XMLWriterPlus extends \XMLWriter /** @var bool */ protected $memory = false; - /** - * Destructor - * - * @link http://www.php.net/manual/en/function.xmlwriter-flush.php - */ - public function __destruct() - { - $this->flush(); - } - /** * @param string $prefix * @param string $uri