commit 393c60a3956751d089415cd24de1d50e7a38c6ef
parent b9e7dc94845876ecafd12a15b1d00c6fa9bded3f
Author: Matsuda Kenji <info@mtkn.jp>
Date: Wed, 3 Jan 2024 12:39:03 +0900
add comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.go b/server.go
@@ -1183,7 +1183,7 @@ func (s *Server) Serve(ctx context.Context, r io.Reader, w io.Writer) {
statChan = make(chan *request)
wstatChan = make(chan *request)
)
- defer func() {
+ defer func() { // TODO: unnecessary?
close(versionChan)
close(authChan)
close(attachChan)