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