mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
kern: simplify handle table registration for port/session
This commit is contained in:
parent
ee91063bbb
commit
911e431d65
2 changed files with 19 additions and 23 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue