kern: simplify handle table registration for port/session

This commit is contained in:
Michael Scire authored and SciresM committed 2021-04-11 03:42:16 -07:00
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. */