Skip to content

Commit

Permalink
Fix endpoints not close
Browse files Browse the repository at this point in the history
  • Loading branch information
xchacha20-poly1305 committed Jan 16, 2025
1 parent bd2e052 commit a30268e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion box.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func (s *Box) Close() error {
close(s.done)
}
err := common.Close(
s.inbound, s.outbound, s.router, s.connection, s.network,
s.inbound, s.outbound, s.endpoint, s.router, s.connection, s.network,
)
for _, lifecycleService := range s.services {
err = E.Append(err, lifecycleService.Close(), func(err error) error {
Expand Down

0 comments on commit a30268e

Please sign in to comment.