be robust to missing symbol server support

This commit is contained in:
Ryan Fleury committed 2026-06-09 16:07:16 -07:00
1 parent 8a098c5d45
commit ffb79a67ef
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -697,7 +697,7 @@ di_async_tick(void)
if(!file_is_present)
{
String8 symbol_cache_path = smsv_cache_path();
if(str8_match(symbol_cache_path, og_path, StringMatchFlag_RightSideSloppy|StringMatchFlag_SlashInsensitive))
if(symbol_cache_path.size != 0 && str8_match(symbol_cache_path, og_path, StringMatchFlag_RightSideSloppy|StringMatchFlag_SlashInsensitive))
{
if(di_shared->auto_downloads)
{