Close & delete telnet (props) channels on close
This commit is contained in:
parent
9723f26f23
commit
c8ed3f02fe
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue