1
0
Fork 0

Merge branch 'jmt/gps' into next

This commit is contained in:
Tim Moore 2010-05-05 12:02:16 +02:00
commit 664bb77d95

View file

@ -129,8 +129,13 @@ FGNavRadio::FGNavRadio(SGPropertyNode *node) :
// Destructor
FGNavRadio::~FGNavRadio()
{
gps_course_node->removeChangeListener(this);
nav_slaved_to_gps_node->removeChangeListener(this);
if (gps_course_node) {
gps_course_node->removeChangeListener(this);
}
if (nav_slaved_to_gps_node) {
nav_slaved_to_gps_node->removeChangeListener(this);
}
delete term_tbl;
delete low_tbl;