Skip to content

Clean up by destroying the vtkTkRenderWidget.

David Gobbi requested to merge dgobbi/vtk:tkrw-destroy into master

Currently, the only way for Python/Tk to force Tcl to delete the vtkTkRenderWidget is to destroy() the widget. This has to be done with care, since the widget must hold the only reference to its vtkRenderWindow at the time of its destruction. If the widget is not destroyed, then a memory leak results.

Merge request reports