1
0
Fork 0

Reset: ensure Wx controller destroys cleanly.

This commit is contained in:
James Turner 2013-07-27 14:49:01 +01:00
parent 35dad8c4c4
commit 75a01aa588
2 changed files with 10 additions and 1 deletions

View file

@ -382,6 +382,9 @@ public:
// implementation of MetarRequester // implementation of MetarRequester
virtual void requestMetar( MetarDataHandler * metarDataHandler, const std::string & id ); virtual void requestMetar( MetarDataHandler * metarDataHandler, const std::string & id );
virtual ~NoaaMetarRealWxController()
{
}
private: private:
}; };
@ -463,6 +466,10 @@ RealWxController * RealWxController::createInstance( SGPropertyNode_ptr rootNode
return new NoaaMetarRealWxController( rootNode ); return new NoaaMetarRealWxController( rootNode );
} }
RealWxController::~RealWxController()
{
}
/* -------------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------------- */
} // namespace Environment } // namespace Environment

View file

@ -29,6 +29,8 @@ namespace Environment {
class RealWxController : public SGSubsystem class RealWxController : public SGSubsystem
{ {
public: public:
virtual ~RealWxController();
static RealWxController * createInstance( SGPropertyNode_ptr rootNode ); static RealWxController * createInstance( SGPropertyNode_ptr rootNode );
}; };