Hi Cory, The OSG users ref counting, so if all external references to the scene and viewer are removed then all the associated resources should be deleted automatically. If you app keeps any references to this data then it'll stay around until these references are removed.
If you've enabled caching in the osgDB::Registry then it can keep around a reference for loaded objects in its cache, so clearing this would be required. Also if you app loads OSG plugins as part of loading your data then one could see this as items you might want to unload. BTW, what makes you think that things aren't being released? Robert. On Fri, Jan 30, 2009 at 2:57 PM, Cory Riddell <[email protected]> wrote: > Is there a correct way to stop OSG and free all the resources that have been > acquired by without stopping the application? I thought that when my > osgViewer::Viewer instance went out of scope, everything would be released, > but that doesn't seem to be the case. > > cory > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

