[vtkusers] VtkPanel in java vtk bindings not being collected?
Mark Edgar Hammons II
mark.hammons at inaf.cnrs-gif.fr
Thu Jul 31 12:33:39 EDT 2014
I do and it doesn't. I've also tried setting the pane to invisible to halt
rendering, and nothing. You can see what I try in the end() method of the
ImageViewer class I linked.
On Thursday, July 31, 2014 09:57:17 AM you wrote:
> 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.
More information about the vtkusers
mailing list