On Tue, Apr 24, 2012 at 10:35 AM, James Turner <zakal...@mac.com> wrote:

>
> On 24 Apr 2012, at 16:31, Curtis Olson wrote:
>
> > Based on two runs with out crashing, that seems to prevent the crash ...
>
> Okay, so that's good .... but leaves me wondering why it doesn't crash on
> Mac the same way. And also, how I've got the ref-counting wrong.


If an FGAirport object was ref-counted and deleted because the ref-count
went to zero, then why would  FGAirport::findClosest() still be returning a
pointer to it it as the closest airport?  Is it not getting fully/properly
deleted or removed from the list and you just getting lucky on the Mac that
it's not segfaulting?

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to