Commit 2274e5a6 authored by Dave Partyka's avatar Dave Partyka

BUG: prevent MultiProcessController from leaking.

parent 551d56ac
......@@ -33,7 +33,7 @@
#include "VPICDataSet.h"
vtkCxxRevisionMacro(vtkVPICReader, "1.6");
vtkCxxRevisionMacro(vtkVPICReader, "1.7");
vtkStandardNewMacro(vtkVPICReader);
//----------------------------------------------------------------------------
......@@ -86,6 +86,10 @@ vtkVPICReader::~vtkVPICReader()
this->data[var]->Delete();
}
this->SelectionObserver->Delete();
if(this->MPIController)
{
this->MPIController->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