mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 21:54:10 -04:00
kern: SvcCreateSession, KDebug finalization
This commit is contained in:
parent
36eb78a3ce
commit
94f9cc1626
5 changed files with 151 additions and 8 deletions
|
@ -71,6 +71,9 @@ namespace ams::kern::svc {
|
|||
/* Initialize the event. */
|
||||
event->Initialize();
|
||||
|
||||
/* Commit the event reservation. */
|
||||
event_reservation.Commit();
|
||||
|
||||
/* Ensure that we clean up the event (and its only references are handle table) on function end. */
|
||||
ON_SCOPE_EXIT {
|
||||
event->GetWritableEvent().Close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue