1
0
forked from MeloNX/MeloNX

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:
Mary 2020-07-20 04:23:26 +02:00 committed by GitHub
parent 66ae435eba
commit c4315dba99

View File

@ -177,6 +177,9 @@ namespace Ryujinx.HLE.HOS.Services
throw new InvalidOperationException("Out of handles!");
}
session.ServerSession.DecrementReferenceCount();
session.ClientSession.DecrementReferenceCount();
context.Response.HandleDesc = IpcHandleDesc.MakeMove(handle);
}
}