]> git.mxchange.org Git - flightgear.git/commit
ok, now I know why the destructor was commented out in prop_picker.cxx:
authormfranz <mfranz>
Wed, 24 May 2006 09:42:10 +0000 (09:42 +0000)
committermfranz <mfranz>
Wed, 24 May 2006 09:42:10 +0000 (09:42 +0000)
commitb08a588fb1ca6bc7d79473ebfe9c8e6e54627d05
tree71ebeb0551f5a364ef2acfa6f44dfce80904ecbb
parent6465141ac2da66d3f6b66b74eaabf3db0a30d8fc
ok, now I know why the destructor was commented out in prop_picker.cxx:
there's a bug that I had copied: update() checks each list node: if it
has no children, then a listener is attached. Later, when freeing the
children list, it assumed again that each node without children would
have a listener attached. This caused a crash when a node had children
before, but lost them in the meantime. Now we tried to remove a listener
where there never was one.
src/GUI/property_list.cxx
src/GUI/property_list.hxx