From 83649c97681a5339f1d32b23763d62f0913859c0 Mon Sep 17 00:00:00 2001 From: fincs Date: Thu, 14 Nov 2019 17:34:52 +0100 Subject: [PATCH] Fix #346 - sessionmgrClose did not actually close the extra sessions --- nx/source/sf/sessionmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nx/source/sf/sessionmgr.c b/nx/source/sf/sessionmgr.c index b1a1b70d..ef4bdf1c 100644 --- a/nx/source/sf/sessionmgr.c +++ b/nx/source/sf/sessionmgr.c @@ -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; } }