mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-28 16:43:20 -08:00
need null check, if match is cancelled
This commit is contained in:
1 parent
2eba506897
commit
36fadc3b95
1 file changed
+8
-5
@@ -1565,14 +1565,17 @@ 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};
|
||||||
for EachIndex(idx, lane_count())
|
if(lane_matches != 0)
|
||||||
{
|
{
|
||||||
if(lane_matches[idx].idx != 0)
|
for EachIndex(idx, lane_count())
|
||||||
{
|
{
|
||||||
match = lane_matches[idx];
|
if(lane_matches[idx].idx != 0)
|
||||||
if(di_key_match(di_key_zero(), preferred_key) || di_key_match(match.key, preferred_key))
|
|
||||||
{
|
{
|
||||||
break;
|
match = lane_matches[idx];
|
||||||
|
if(di_key_match(di_key_zero(), preferred_key) || di_key_match(match.key, preferred_key))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user