Fix stability on exit or when doing heavy resources streaming stress tests

This commit is contained in:
2021-06-18 15:20:39 +02:00
parent 4681d8da56
commit f5a6a18232
3 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -440,5 +440,5 @@ void Font::FlushFaceSize() const
String Font::ToString() const
{
return String::Format(TEXT("Font {0} {1}"), _asset->GetFamilyName(), _size);
return String::Format(TEXT("Font {0} {1}"), _asset ? _asset->GetFamilyName() : String::Empty, _size);
}