Fix possible crash in ReadOutputLogs

#646
This commit is contained in:
Wojtek Figat
2021-10-11 14:05:20 +02:00
parent 54d5cf944b
commit a013c3dd04

View File

@@ -388,7 +388,7 @@ public:
{
ScopeLock lock(CachedLogDataLocker);
if (CachedLogData.IsEmpty())
if (CachedLogData.IsEmpty() || CachedLogData.Get() == nullptr)
return 0;
int32 count = 0;