Skip to content

Commit

Permalink
Print ref count
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-bal committed Jan 21, 2025
1 parent 7b8f970 commit 4e0cf0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem/buffers.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (b *buffer) Free() {
b.freeCallers = nil
bufferObjectPool.Put(b)
default:
op := "Free callers"
op := fmt.Sprintf("refCount: %d\nFree callers", refs)
for _, c := range b.freeCallers {
op = op + "\n\n" + c
}
Expand Down

0 comments on commit 4e0cf0b

Please sign in to comment.