Gerrit Voss wrote:
> Hi,
> 
> 
>>To that end, I am wondering why OSG::SharedObjectHandler::terminate() is
>>not
>>called in OSG::osgExit().  Is this an oversight, or is there a non-trivial
>>problem that arises from doing so?
> 
> 
> In the first place it is an oversight, but on a second thought there
> might be some interesting issues regarding the type objects in the
> current version as they don't deregister and terminate on destruction
> right now. Let me thing about it a little bit.
> 
> regards,
>   gerrit

OK.  I did build and test a locally modified copy of the latest CVS version
of OpenSG with OSG::osgExit() extended to call
OSG::SharedObjectHandler::terminate().  With this change, the crash I was
seeing is fixed.

 -Patrick


-- 
Patrick L. Hartling                    | VP Engineering, Infiscape Corp.
PGP: http://tinyurl.com/2msw3          | http://www.infiscape.com/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to