From d63f378ea995085aa66e7c8a9c69dba730b94c82 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 6 Oct 2023 12:06:37 +0900 Subject: [PATCH] fix context. this must be another context --- handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.go b/handlers.go index c16a63e..2edb15c 100644 --- a/handlers.go +++ b/handlers.go @@ -391,7 +391,7 @@ func (s *Server) HandleWebsocket(w http.ResponseWriter, r *http.Request) { continue } - go s.handleMessage(ctx, ws, message, store) + go s.handleMessage(context.TODO(), ws, message, store) } }()