1
0
Fork 0

Close & delete telnet (props) channels on close

This commit is contained in:
James Turner 2018-10-01 13:52:01 +01:00
parent 9723f26f23
commit c8ed3f02fe

View file

@ -755,6 +755,11 @@ bool
FGProps::close()
{
SG_LOG( SG_IO, SG_INFO, "closing FGProps" );
for (auto channel : _activeChannels) {
channel->close();
delete channel;
}
_activeChannels.clear();
return true;
}