kern: SvcCreateSession, KDebug finalization
This commit is contained in:
1 parent
36eb78a3ce
commit
94f9cc1626
5 files changed
+151
-8
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user