<div dir="ltr"><div dir="ltr">Hi Chris,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Jul 2019 at 15:43, Chris Djali <<a href="mailto:krizdjali@gmail.com">krizdjali@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If that's the case, though, it seems like relying on it for correctness isn't a good strategy - surely all these release calls exist because there's some chance an implementation detail might change at some point and make them necessary.<br>
</blockquote><div><br></div><div>I don't yet get the leak part.  The Font class manages all of it's objects via ref_ptr<>, they all will be deleted automatically once the Font get deleted.</div><div><br></div><div>Is it simply that the Font's that are cached within the osgDB::ObjectCache that is keeping Font's around independent of the scene graph objects that are coming and going.</div><div><br></div><div>You can explicitly flush the ObjectCache.<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">Again, what makes you think there is a leak, are you using some debug tool to determine this? If so, which one?  <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">I am still at the point of not knowing whether it's a usage issue at your end, a mis-understanding of how things work, or a bug in the OSG.  >From the info I have so far I don't have way of knowing, which is why I'm asking specifically about the leak.<br></div><div class="gmail_quote"><br><div>Robert.<br></div><div><br></div><div> </div></div></div>