Fix crash in writeToRecorders

meow-7.2.2
Ansariel 2020-12-16 14:26:17 +01:00
parent 103867a468
commit 4f5af772a3
1 changed files with 3 additions and 1 deletions

View File

@ -1208,7 +1208,9 @@ namespace
{
LLError::RecorderPtr r = *i;
if (!r->enabled())
// <FS:Ansariel> Crash fix
//if (!r->enabled())
if (!r || !r->enabled())
{
continue;
}