mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fix #346 - sessionmgrClose did not actually close the extra sessions
This commit is contained in:
parent
dda6194d0b
commit
83649c9768
@ -31,6 +31,7 @@ void sessionmgrClose(SessionMgr* mgr) {
|
||||
if (mgr->sessions[i] != INVALID_HANDLE) {
|
||||
cmifMakeCloseRequest(armGetTls(), 0);
|
||||
svcSendSyncRequest(mgr->sessions[i]);
|
||||
svcCloseHandle(mgr->sessions[i]);
|
||||
mgr->sessions[i] = INVALID_HANDLE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user