On 2010-05-07 04:42, Carsten Neumann wrote: > Hello, > > any objections to installing the attached patch? > The static_cast in Thread::getCurrent() is actually wrong if the current > thread is an ExternalThread. > There is some (low IMHO) potential to break applications, but doing the > illegal cast is probably worse long term. > > Comments?
Correctness is always good! I've been bitten by this (since I use ExternalThread quite a lot) so currently I don't unregister/delete OSG::ExternalThread objects anymore. Cheers, /Marcus ------------------------------------------------------------------------------ _______________________________________________ Opensg-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-core
