]> git.mxchange.org Git - flightgear.git/commit
Improved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
authorThorstenB <brehmt@gmail.com>
Sat, 5 Feb 2011 16:49:26 +0000 (17:49 +0100)
committerThorstenB <brehmt@gmail.com>
Sat, 5 Feb 2011 16:49:26 +0000 (17:49 +0100)
commitad8d46ba648263630b8777c53f852b75cad7ecdd
treec4f0f85c546eb99bfa12efc5caab4b61f48ddfe2
parentedfc06119afc178c34f738565555e6aac599b6c1
Improved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
Extends and partially reverts commit 287cc74965e11ff3888117a9d9b88ed2bdbb9252
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.
src/FDM/JSBSim/FGFDMExec.h
src/FDM/JSBSim/JSBSim.cxx
src/FDM/JSBSim/input_output/FGPropertyManager.cpp
src/FDM/JSBSim/input_output/FGPropertyManager.h