Limit remote closed session removal to SM service
This commit is contained in:
parent
d704bcd93b
commit
6dcb867816
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