mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-27 09:59:33 +01:00
Limit remote closed session removal to SM service (#6248)
This commit is contained in:
parent
d704bcd93b
commit
e5066449a5
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ namespace Ryujinx.HLE.HOS.Services
|
||||||
_wakeEvent.WritableEvent.Clear();
|
_wakeEvent.WritableEvent.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (rc == KernelResult.PortRemoteClosed && signaledIndex >= 0)
|
else if (rc == KernelResult.PortRemoteClosed && signaledIndex >= 0 && SmObjectFactory != null)
|
||||||
{
|
{
|
||||||
DestroySession(handles[signaledIndex]);
|
DestroySession(handles[signaledIndex]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue