Skip to content

Commit

Permalink
node: fix closing deadlock
Browse files Browse the repository at this point in the history
A regression from 6bf4428. Closes #2997.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell committed Nov 6, 2024
1 parent 2e583e5 commit a8ff95e
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 a8ff95e

Please sign in to comment.