Commit e7e6e069 authored by Ken Martin's avatar Ken Martin
Browse files

bug fix from main tree

parent a9593b62
......@@ -21,7 +21,7 @@
#include "vtkOldStyleCallbackCommand.h"
#include "vtkDataObject.h"
vtkCxxRevisionMacro(vtkProcessObject, "1.29");
vtkCxxRevisionMacro(vtkProcessObject, "1.29.2.1");
// Instantiate object with no start, end, or progress methods.
vtkProcessObject::vtkProcessObject()
......@@ -48,6 +48,7 @@ vtkProcessObject::~vtkProcessObject()
{
if (this->Inputs[idx])
{
this->Inputs[idx]->RemoveConsumer(this);
this->Inputs[idx]->UnRegister(this);
this->Inputs[idx] = NULL;
this->SortedInputs[idx] = NULL;
......
Supports Markdown
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