kernel: fix port tracking
This commit is contained in:
parent
7aa91c8d9c
commit
2228383322
5 changed files with 4 additions and 49 deletions
|
@ -101,7 +101,9 @@ ServiceFrameworkBase::~ServiceFrameworkBase() {
|
|||
const auto guard = LockService();
|
||||
|
||||
if (named_port != nullptr) {
|
||||
named_port->Close();
|
||||
named_port->GetClientPort().Close();
|
||||
named_port->GetServerPort().Close();
|
||||
named_port = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue