1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-17 15:26:39 +00:00

Limit remote closed session removal to SM service

This commit is contained in:
Gabriel A 2024-02-03 01:17:12 -03:00
parent d704bcd93b
commit 6dcb867816

View file

@ -287,7 +287,7 @@ namespace Ryujinx.HLE.HOS.Services
_wakeEvent.WritableEvent.Clear();
}
}
else if (rc == KernelResult.PortRemoteClosed && signaledIndex >= 0)
else if (rc == KernelResult.PortRemoteClosed && signaledIndex >= 0 && SmObjectFactory != null)
{
DestroySession(handles[signaledIndex]);
}