mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 22:16:46 +00:00
ipc hle: Fix disposing of session created with MakeObject (#1404)
This fix a missing part of #1397, making HLE ipc session being disposed when needed. THis is needed for upcoming wip changes.
This commit is contained in:
parent
e7f2a5ecb7
commit
d5c34291a3
1 changed files with 3 additions and 0 deletions
|
@ -177,6 +177,9 @@ namespace Ryujinx.HLE.HOS.Services
|
||||||
throw new InvalidOperationException("Out of handles!");
|
throw new InvalidOperationException("Out of handles!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
session.ServerSession.DecrementReferenceCount();
|
||||||
|
session.ClientSession.DecrementReferenceCount();
|
||||||
|
|
||||||
context.Response.HandleDesc = IpcHandleDesc.MakeMove(handle);
|
context.Response.HandleDesc = IpcHandleDesc.MakeMove(handle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue