Skip to content

Commit

Permalink
node: fix closing deadlock (#3002)
Browse files Browse the repository at this point in the history
A regression from 6bf4428. Closes
#2997.
  • Loading branch information
roman-khimov authored Nov 6, 2024
2 parents 2e583e5 + a8ff95e commit c8137af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/neofs-node/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func preRunAndLog(c *cfg, name string, srv *httputil.Server) {
})
}()

c.closers = append(c.veryLastClosers, func() {
c.veryLastClosers = append(c.veryLastClosers, func() {
c.log.Debug(fmt.Sprintf("shutting down %s service", name))

err := srv.Shutdown()
Expand Down

0 comments on commit c8137af

Please sign in to comment.