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
virtual void requestMetar( MetarDataHandler * metarDataHandler, const std::string & id );
virtual ~NoaaMetarRealWxController()
{
}
private:
};
@ -457,11 +460,15 @@ void NoaaMetarRealWxController::requestMetar
}
/* -------------------------------------------------------------------------------- */
RealWxController * RealWxController::createInstance( SGPropertyNode_ptr rootNode )
{
return new NoaaMetarRealWxController( rootNode );
}
RealWxController::~RealWxController()
{
}
/* -------------------------------------------------------------------------------- */

View file

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