mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-06 21:29:10 +02:00
misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
@@ -62,7 +62,10 @@ namespace Ryujinx.HLE.HOS.Kernel.Ipc
|
||||
|
||||
if (list.Count != 0)
|
||||
{
|
||||
session = list.First.Value;
|
||||
if (list.First != null)
|
||||
{
|
||||
session = list.First.Value;
|
||||
}
|
||||
|
||||
list.RemoveFirst();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user