kern: update port/session state semantics

This commit is contained in:
Michael Scire
2021-04-07 14:45:38 -07:00
committed by SciresM
parent c62a7381f8
commit cbdf33260e
7 changed files with 32 additions and 11 deletions

View File

@@ -42,6 +42,10 @@ namespace ams::kern {
return this->GetParent()->IsLight();
}
bool KClientPort::IsServerClosed() const {
return this->GetParent()->IsServerClosed();
}
void KClientPort::Destroy() {
/* Note with our parent that we're closed. */
m_parent->OnClientClosed();