diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 02d3bc76f..6569ea0df 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -10,7 +10,7 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermi - CLI/RPC/Config - - [config] \#7230 rpc: Add experimental config params to allow for subscription buffer size control (@thanethomson). + - [config] [\#7230](https://github.com/tendermint/tendermint/issues/7230) rpc: Add experimental config params to allow for subscription buffer size control (@thanethomson). - Apps @@ -26,5 +26,6 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermi ### BUG FIXES +- [\#7309](https://github.com/tendermint/tendermint/issues/7309) pubsub: Report a non-nil error when shutting down (fixes #7306). - [\#7057](https://github.com/tendermint/tendermint/pull/7057) Import Postgres driver support for the psql indexer (@creachadair). - [\#7106](https://github.com/tendermint/tendermint/pull/7106) Revert mutex change to ABCI Clients (@tychoish). diff --git a/libs/pubsub/pubsub.go b/libs/pubsub/pubsub.go index f48ee5b86..914a080de 100644 --- a/libs/pubsub/pubsub.go +++ b/libs/pubsub/pubsub.go @@ -194,7 +194,7 @@ func (s *Server) subscribe(ctx context.Context, clientID string, query Query, ou case <-ctx.Done(): return nil, ctx.Err() case <-s.Quit(): - return nil, nil + return nil, errors.New("service is shutting down") } }