Hi David, Thanks for the response. It ended up being how I declared the destructor for my derived class as J-S pointed out. I was going down the path of when and if I needed to call releaseGLObjects() and nothing seemed to make a difference. And I'm still a little unsure of when that method should be called (or even if it should). But, fixing the destructor declaration stopped the crashes that I was seeing and I'm not explicitly calling releaseGLObjects() at all right now, on any object.
chuck From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of David Spilling Sent: Friday, March 27, 2009 8:02 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Problems shutting down Composite Viewer/View/Custom drawables Chuck, I have had similar issues (with crashes in releaseGLObjects when views get destroyed) but can't actually recall what I did to fix them. You could try calling viewer->releaseGLObjects() before you destroy the view. (previous posts seem to suggest that this might be the right thing to do) David
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org