kern: simplify handle table registration for port/session
This commit is contained in:
1 parent
ee91063bbb
commit
911e431d65
2 files changed
+19
-23
No files matched your search
@@ -43,8 +43,8 @@ namespace ams::kern::svc {
|
||||
|
||||
/* Ensure that we clean up the session (and its only references are handle table) on function end. */
|
||||
ON_SCOPE_EXIT {
|
||||
session->GetServerSession().Close();
|
||||
session->GetClientSession().Close();
|
||||
session->GetServerSession().Close();
|
||||
};
|
||||
|
||||
/* Register the session. */
|
||||
|
||||
Reference in new issue
Block a user