From 8d3381821f2a8d257a4c55c0dd311019bd0e78eb Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 25 Oct 2025 21:11:05 +0900 Subject: [PATCH] internal/app/state: export correct backend value This references the underlying multiBackend due to a typo, making the whole dance with c a noop. Signed-off-by: Ophestra --- internal/app/state/multi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/state/multi.go b/internal/app/state/multi.go index c15b853..c9096ac 100644 --- a/internal/app/state/multi.go +++ b/internal/app/state/multi.go @@ -62,7 +62,7 @@ func (s *multiStore) Do(identity int, f func(c Cursor)) (bool, error) { // expose backend methods without exporting the pointer c := new(struct{ *multiBackend }) c.multiBackend = b - f(b) + f(c) // disable access to the backend on a best-effort basis c.multiBackend = nil