vtkRenderWindow::RemoveRenderer access after Delete
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In vtkRenderWindow::RemoveRenderer after the renderer is Deleted, vtkRenderer::GetRenderWindow is called which results in an invalid access if no other object holds a reference to the renderer.
a minimal example is attached. Running the example in valgrind will illustrate the error.