Skip to content
  • David Gobbi's avatar
    Clean up by destroying the vtkTkRenderWidget. · cd1c29e6
    David Gobbi authored
    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.
    cd1c29e6