Optimize memory usage

This commit is contained in:
Alex
2023-04-11 12:06:32 +03:00
parent c563bb395e
commit 411b468f71
10 changed files with 71 additions and 54 deletions

View File

@ -836,9 +836,12 @@ namespace CrashHandler
CPUData *data = GetCurrentCPU();
if (data)
{
if (!data->CurrentThread->Security.IsCritical)
if (data->CurrentThread)
{
fixme("Exception in non-critical thread (kernel mode)");
if (!data->CurrentThread->Security.IsCritical)
{
fixme("Exception in non-critical thread (kernel mode)");
}
}
}