<div dir="ltr"><div dir="ltr">Hi Chris,<br></div><br><div class="gmail_quote">To experiment with different approaches to doing the releaseGLObjects() call management I have created a RegistryRelease branch of the OpenSceneGraph that is branched off the OpenSceneGrpaph-3.6 branch.  This branch just contains a single commit so far that wraps up:</div><div class="gmail_quote"><br></div><div class="gmail_quote">  1) Chnage of osgText::DefaultFont to use the osgDB::ObjectCache assigned to the osgDB::Registry::instance() rather than a local static ref_ptr<DefaultFont></div><div class="gmail_quote"><br></div><div class="gmail_quote">  2) Change of osgViewer::Renderer::releaseGLObjects(State*) so that it calls the osgDB::Registry::instance() that will in turn<br></div><div class="gmail_quote">      call the osgDB::ObjectCache::releaseGLObjects(State*) which will in turn <br></div><div class="gmail_quote">      call DefaultFont::releaseGLObjects(State*)</div><div class="gmail_quote"><br></div><div class="gmail_quote">  3) Debug console output to track the creation, destruction and calls to releaseGLObjects() of the various players above.</div><div class="gmail_quote"><br></div><div class="gmail_quote">I've done some testing here to confirm that the DefaultFont::relaseGLObjects() is now being called, but I don't have you application usage case to thoroughly hammer it. So... I really need you to test it at your end.  If this works better then I can clean it up and get it checked into the OpenSceneGraph-3.6 branch and master.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Cheers,<br></div><div class="gmail_quote">Robert.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div></div>