]> 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>
Sun, 6 Feb 2011 14:34:16 +0000 (15:34 +0100)
commit6b6d7059de394bf270c8a0660820c5fc0a4c7fd4
tree63c96f25264a812237f637646b5a82bf9f717333
parent68728c944962f17a3754c63b4d61e58ff5bcd365
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