fix artifact cache replaced-value deletion - this CAN NOT run if the new value == the old value

This commit is contained in:
Ryan Fleury committed 2026-05-11 13:29:29 -07:00
1 parent 52da228efe
commit de35a86505
8 files changed
+142 -26

No files matched your search

+3 -2
View File
@@ -2944,12 +2944,13 @@ txt_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *gen_ou
shared->artifact->info = shared->info;
}
lane_sync();
AC_Artifact result = {0};
result.u64[0] = (U64)shared->artifact;
lane_sync();
access_close(access);
scratch_end(scratch);
ProfEnd();
AC_Artifact result = {0};
result.u64[0] = (U64)shared->artifact;
return result;
}