diff options
author | gdkchan <gab.dark.100@gmail.com> | 2020-07-19 15:24:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 15:24:18 -0300 |
commit | e7f2a5ecb709ff3ee82bb39ab32a16b5db0c101d (patch) | |
tree | f1931e1db2d0e6772d014856ab09ce1e78a8787c /Ryujinx.HLE/HOS/Services | |
parent | 3af2ce74ecf76cc8d6fdb9ff19101bfee47af7dd (diff) |
Fix session service disposal and improve transfer memory implementation (#1397)
* Fix session service disposal and improve transfer memory implementation
* Remove useless assignment
Diffstat (limited to 'Ryujinx.HLE/HOS/Services')
-rw-r--r-- | Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs b/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs index 2a0624d5..54f28af5 100644 --- a/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs @@ -104,6 +104,9 @@ namespace Ryujinx.HLE.HOS.Services.Sm throw new InvalidOperationException("Out of handles!"); } + session.ServerSession.DecrementReferenceCount(); + session.ClientSession.DecrementReferenceCount(); + context.Response.HandleDesc = IpcHandleDesc.MakeMove(handle); return ResultCode.Success; |