Commit db14dade authored by Dave Partyka's avatar Dave Partyka
Browse files

BUG: fix leaking of SelectionObserver.

parent aeca84ce
......@@ -50,7 +50,7 @@ string Slash("\\");
string Slash("/");
#endif
vtkCxxRevisionMacro(vtkWindBladeReader, "1.5");
vtkCxxRevisionMacro(vtkWindBladeReader, "1.6");
vtkStandardNewMacro(vtkWindBladeReader);
//----------------------------------------------------------------------------
......@@ -146,6 +146,8 @@ vtkWindBladeReader::~vtkWindBladeReader()
this->Points->Delete();
this->BPoints->Delete();
this->SelectionObserver->Delete();
// Do not delete the MPIController it is Singleton like and will
// cleanup itself;
this->MPIController = NULL;
......
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