Skip to content

Commit

Permalink
Refactor cstr, push unwinds from parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
fubark committed Jan 29, 2024
1 parent 9d4eb7e commit 241a414
Show file tree
Hide file tree
Showing 12 changed files with 834 additions and 841 deletions.
6 changes: 6 additions & 0 deletions src/arc.zig
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,12 @@ pub fn checkGlobalRC(vm: *cy.VM) !void {
}
}

// var iter = cy.vm.traceObjRetains.iterator();
// while (iter.next()) |e| {
// const msg = std.fmt.bufPrint(&cy.tempBuf, "pc={} retains={}", .{e.key_ptr.*, e.value_ptr.*}) catch cy.fatal();
// cy.debug.printTraceAtPc(vm, e.key_ptr.*, "retain", msg) catch cy.fatal();
// }

return error.UnreleasedReferences;
}
}
Expand Down
Loading

0 comments on commit 241a414

Please sign in to comment.