Proxies not released when "creation" is undone
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Try this. Put a cout in vtkPVContextView's constructor and destructor. Then try the following:
- Create Sphere
- Apply
- Create Extract Histogram
- Apply
- Undo (view is removed, but vtkPVContextView's destructor is not called. It should be).
If you redo at this point, then multi-clients-collaboration branch segfaults because of side-effects of the vtkPVContextView being reused. Irrespective of that, "saving" proxies as such is not advisable.