[osg-users] Problems shutting down Composite Viewer/View/Custom drawables

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Mon Mar 30 07:55:11 PDT 2009


Hi Charles,

> That was the problem.  The destructor of my derived class was public.  I changed it to protected and to use a ref_ptr for the class and no more crashes.  I'm not sure I would have ever found this bug.  I wasn't even looking in that direction.  So, thanks so much!

Glad I could help. It's a mistake that's pretty easy to make :-)

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/



More information about the osg-users mailing list