1
0
Fork 0

Fix crash on exit when FGCom is not being used.

This commit is contained in:
James Turner 2013-08-19 18:21:51 +01:00
parent 7827e28ff3
commit 206053722e

View file

@ -330,6 +330,10 @@ void FGCom::update(double dt)
void FGCom::shutdown()
{
if( !_enabled ) {
return;
}
SG_LOG( SG_IO, SG_INFO, "FGCom shutdown()" );
_enabled = false;