]> git.mxchange.org Git - flightgear.git/commit
Save a memory allocation each time a property node is wrapped in Nasal. Instead use...
authorbcoconni <bcoconni@users.sourceforge.net>
Sun, 23 Nov 2014 13:53:54 +0000 (14:53 +0100)
committerbcoconni <bcoconni@users.sourceforge.net>
Sun, 23 Nov 2014 13:53:54 +0000 (14:53 +0100)
commit2122e9eee3689c6df9be2d873193e4edfb0beece
treeffcfa71283f9d722eb578266d47cbbaf6c72ac99
parent89115ccb1d7889f7d3bd0381e4404250abdec4a3
Save a memory allocation each time a property node is wrapped in Nasal. Instead use a direct access to the reference counter and explicitely delete the node if the ref counter is decremented to zero during the ghost destruction.
src/Scripting/NasalSys.cxx
src/Scripting/nasal-props.cxx