[vtkusers] VtkPanel in java vtk bindings not being collected?

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Jul 31 11:57:17 EDT 2014


If you remove the panel from its parent and call Delete(), that might solve
your premature exit of the delete method.

Seb

PS: Put the list back in the loop.


On Thu, Jul 31, 2014 at 9:51 AM, Mark Edgar Hammons II <
mark.hammons at inaf.cnrs-gif.fr> wrote:

> On Thursday, July 31, 2014 09:46:15 AM you wrote:
> > There is a Delete() method on it. But on Linux, vtkPanel leak to prevent
> a
> > crash.
>
>
> See, I'd been looking into that, but the print statement is never executed
> on
> my machine, which suggests to me that it escapes at `if(rendering) return;`
> always when I call Delete. Is there a way to force the panel to enter a
> state
> where at least its children (the renderer, renderwindow, etc) can be
> collected? They aren't at all unless I intentionally go through and
> manually
> delete them all, and even then I still have 4 or 5 objects leaked per panel
> created.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140731/a8780fb5/attachment.html>


More information about the vtkusers mailing list