Hi Emmanuel,

It would probably be best to subscribe to Producer-users mailing list
and ask Don about this.

Robert.

On 4/4/07, Emmanuel Roche <[EMAIL PROTECTED]> wrote:
Hello again,

I solve the problem for OpenThreads ( simple deletion order question :-) ),
but now I'm facing something else :

while analyzing my application with a memory analyzing software, I saw that,
deleting a RenderSurface object doesn't  automatically delete an owned
VisualInfo object if any... I looked into the sources, and this object is
apparently only "really deleted" in a private function 'KillGLWindow()'.

The only solution I found is something like :  delete rs->getVisualInfo();
rs = NULL;   (rs being a ref_ptr on a RenderSurface)

Isn't there a better solution ? (cleaner I mean...).

regards,
Emmanuel.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to