mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-07 08:25:41 +00:00
dwarf: do not crash on unsupported codes; text: do not crash on arena releasing w/ zero hash (#766, #771?, #761)
This commit is contained in:
+1
-1
@@ -2923,7 +2923,7 @@ txt_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *gen_ou
|
||||
}
|
||||
|
||||
//- rjf: cancel -> release
|
||||
if(lane_idx() == 0 && ins_atomic_u32_eval(cancel_signal))
|
||||
if(lane_idx() == 0 && ins_atomic_u32_eval(cancel_signal) && shared->arena != 0)
|
||||
{
|
||||
arena_release(shared->arena);
|
||||
shared->arena = 0;
|
||||
|
||||
Reference in New Issue
Block a user