From 1df15b6e5fe53d7bbaacee6f1f55d0489c6aa952 Mon Sep 17 00:00:00 2001 From: Nish Krishnan Date: Tue, 16 Nov 2021 09:04:20 -0800 Subject: [PATCH] Update server/controllers/websocket/writer.go Co-authored-by: Aayush Gupta <43479002+Aayyush@users.noreply.github.com> --- server/controllers/websocket/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/websocket/writer.go b/server/controllers/websocket/writer.go index b408cf5d9..eca3f6ae6 100644 --- a/server/controllers/websocket/writer.go +++ b/server/controllers/websocket/writer.go @@ -33,7 +33,7 @@ func (w *Writer) Write(rw http.ResponseWriter, r *http.Request, input chan strin conn.SetCloseHandler(func(code int, text string) error { // Close the channnel after websocket connection closed. - // Will gracefully exit the ProjectCommandOutputHandler.Receive() call and cleanup. + // Will gracefully exit the ProjectCommandOutputHandler.Register() call and cleanup. // is it good practice to close at the receiver? Probably not, we should figure out a better // way to handle this case close(input)