forked from Mirror/Ryujinx
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();
|
||||
}
|
||||
}
|
||||
else if (rc == KernelResult.PortRemoteClosed && signaledIndex >= 0)
|
||||
else if (rc == KernelResult.PortRemoteClosed && signaledIndex >= 0 && SmObjectFactory != null)
|
||||
{
|
||||
DestroySession(handles[signaledIndex]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue