mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-04 23:27:02 +00:00
libs/service: regularize Stop semantics and concurrency primitives (#7809)
This commit is contained in:
@@ -550,7 +550,6 @@ func (n *nodeImpl) OnStart(ctx context.Context) error {
|
||||
// OnStop stops the Node. It implements service.Service.
|
||||
func (n *nodeImpl) OnStop() {
|
||||
n.logger.Info("Stopping Node")
|
||||
|
||||
for _, es := range n.eventSinks {
|
||||
if err := es.Stop(); err != nil {
|
||||
n.logger.Error("failed to stop event sink", "err", err)
|
||||
|
||||
Reference in New Issue
Block a user