Fix endpoints not close

This commit is contained in:
HystericalDragon authored and 世界 committed 2025-01-27 09:50:27 +08:00
1 parent e65926fd08
commit 6b4cf67add
1 file changed
+1 -1
+1 -1
View File
@@ -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 {