From b843da73dd6a487e4cec0e458ec662fb2edbde14 Mon Sep 17 00:00:00 2001 From: sangtran Date: Sat, 5 Sep 2026 23:51:10 +0700 Subject: misc: fix return bug in pebble_state and add on close method cleanup --- state/pebble_state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'state/pebble_state.go') diff --git a/state/pebble_state.go b/state/pebble_state.go index 3eeaa05..0b60deb 100644 --- a/state/pebble_state.go +++ b/state/pebble_state.go @@ -44,7 +44,7 @@ func (p *pebbleStateValue) Value(ctx context.Context) (any, error) { res := core.GetBuffer(len(v)) copy(res, v) - return v, nil + return res, nil } func (p *pebbleStateValue) Clear(ctx context.Context) error { -- cgit v1.3.1