Skip to content

Commit 484099c

Browse files
committed
Rename outdated comment
1 parent b63a8b1 commit 484099c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentsocket/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func NewServer(path string, logger slog.Logger) (*Server, error) {
7676

7777
server.listener = listener
7878

79-
// This context is canceled by s.Stop() when the server is stopped.
79+
// This context is canceled by server.Close().
8080
// canceling it will close all connections.
8181
server.ctx, server.cancel = context.WithCancel(context.Background())
8282

0 commit comments

Comments
 (0)