Skip to content
Snippets Groups Projects
Commit 75d7ceb1 authored by Dave Partyka's avatar Dave Partyka
Browse files

ENH: Fix threading/debug leaks of vtkCollection.

parent b9723280
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ public:
vtksys_stl::vector<int> ThreadIds;
};
vtkCxxRevisionMacro(vtkGeoSource, "1.7");
vtkCxxRevisionMacro(vtkGeoSource, "1.8");
vtkGeoSource::vtkGeoSource()
{
this->InputSet = vtkCollection::New();
......@@ -137,6 +137,7 @@ void vtkGeoSource::ShutDown()
this->Threader->TerminateThread(*iter);
}
this->Implementation->ThreadIds.clear();
this->Implementation->OutputMap.clear();
}
this->Initialized = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment