Commit 2433c366 authored by Chuck Atkins's avatar Chuck Atkins
Browse files

BUG 14681: Close leftover file handles on exit

Change-Id: Ieeb25882def680e1a0c84c71583fe6fb4ebce54e
parent b9c82459
......@@ -137,6 +137,7 @@ vtkXMLReader::~vtkXMLReader()
{
this->DestroyXMLParser();
}
this->CloseStream();
this->CellDataArraySelection->RemoveObserver(this->SelectionObserver);
this->PointDataArraySelection->RemoveObserver(this->SelectionObserver);
this->SelectionObserver->Delete();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment