need null check, if match is cancelled

This commit is contained in:
Ryan Fleury
2025-10-17 14:24:24 -07:00
parent 2eba506897
commit 36fadc3b95
+3
View File
@@ -1565,6 +1565,8 @@ di_match_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *g
//- rjf: pick match //- rjf: pick match
DI_Match match = {0}; DI_Match match = {0};
if(lane_matches != 0)
{
for EachIndex(idx, lane_count()) for EachIndex(idx, lane_count())
{ {
if(lane_matches[idx].idx != 0) if(lane_matches[idx].idx != 0)
@@ -1576,6 +1578,7 @@ di_match_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *g
} }
} }
} }
}
//- rjf: package as artifact //- rjf: package as artifact
AC_Artifact artifact = {0}; AC_Artifact artifact = {0};