Skip to content

WORKAROUND: use weak_ptr for pipeline source's resource

T.J. Corona requested to merge tjcorona/smtk:memory-leak into master

There is a memory issue involving an additional vtkSMProxy for an SMTK pipeline source. I cannot find the missing proxy, and its presence prevents the server-side vtkSMTKResourceSource from going out of scope. As a workaround, there is now a weak_ptr to the smtk::resource::Resource in vtkSMTKResourceSource, so the memory-intensive resource can go out of scope when the resource is closed.

Merge request reports