From e29c3180b935040e7400cdb0c6a33d6a5651b539 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Mon, 21 Oct 2024 14:04:50 -0400 Subject: [PATCH] Use WithoutCancel --- pkg/gordio/nexus/websocket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gordio/nexus/websocket.go b/pkg/gordio/nexus/websocket.go index bf2e982..efcc331 100644 --- a/pkg/gordio/nexus/websocket.go +++ b/pkg/gordio/nexus/websocket.go @@ -115,7 +115,7 @@ func (conn *wsConn) readPump(ctx context.Context, reg Registry, c Client) { break } - go c.HandleMessage(ctx, message) + go c.HandleMessage(context.WithoutCancel(ctx), message) } }