Dirk Reiners wrote: > On Mon, 2006-03-06 at 15:05 -0600, Patrick Hartling wrote: >> Several months ago, I posted a patch to OSG::osgExit() to clean up plug-in >> state. This change was necessary for me to prevent a crash-on-exit problem >> resulting from a plug-in trying to clean up after itself at the wrong time. >> Specifically, what I need to avoid is the case where OSG::osgInit() and >> OSG::osgExit() aere called in spawned thread and the plug-in's clean up >> process is performed later in the primordial thread when the application >> exited. >> >> I have attached the patch for review with the hope that it will be accepted. >> It is a very simple change, and it is one that has been working for me in >> production code for about six months. I have only ever tested it with one >> plug-in (a model loader), so I cannot be sure that this change is 100% >> correct. Nevertheless, it would be very nice to get plug-ins cleaned up at >> the appropriate time during application execution. > > Added and committed, sorry for the delay.
Thanks. That will help me out quite a bit in the future. -Patrick -- Patrick L. Hartling | VP Engineering, Infiscape Corp. PGP: http://tinyurl.com/2msw3 | http://www.infiscape.com/
signature.asc
Description: OpenPGP digital signature
