diff --git a/src/Model/acmodel.cxx b/src/Model/acmodel.cxx index 02924e455..782145ebe 100644 --- a/src/Model/acmodel.cxx +++ b/src/Model/acmodel.cxx @@ -58,7 +58,7 @@ FGAircraftModel::~FGAircraftModel () { // drop reference _fx = 0; - deinit(); + shutdown(); } void @@ -129,7 +129,7 @@ FGAircraftModel::init () void FGAircraftModel::reinit() { - deinit(); + shutdown(); _fx->reinit(); init(); // TODO globally create signals for all subsystems (re)initialized @@ -137,7 +137,7 @@ FGAircraftModel::reinit() } void -FGAircraftModel::deinit() +FGAircraftModel::shutdown() { if (!_aircraft.get()) { return; diff --git a/src/Model/acmodel.hxx b/src/Model/acmodel.hxx index 552144181..edaaad77c 100644 --- a/src/Model/acmodel.hxx +++ b/src/Model/acmodel.hxx @@ -26,6 +26,7 @@ public: virtual ~FGAircraftModel (); virtual void init (); + virtual void shutdown (); virtual void reinit (); virtual void bind (); virtual void unbind ();