Commit 7367e209 authored by Ken Martin's avatar Ken Martin
Browse files

memory leak

parent b33054f9
......@@ -89,6 +89,10 @@ vtkRenderWindowInteractor::vtkRenderWindowInteractor()
vtkRenderWindowInteractor::~vtkRenderWindowInteractor()
{
if (this->InteractorStyle != NULL)
{
this->InteractorStyle->UnRegister(this);
}
if ( this->Picker)
{
this->Picker->UnRegister(this);
......
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