From b4e4f4f12ee47d9827cee352c52b612944bad6bf Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 20 Oct 2023 09:13:59 -0700 Subject: [PATCH] Don't embed noCopy... Whoops. --- conn.go | 2 +- ws_js.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conn.go b/conn.go index e133cd67..ef4d62ad 100644 --- a/conn.go +++ b/conn.go @@ -43,7 +43,7 @@ const ( // This applies to context expirations as well unfortunately. // See https://github.com/nhooyr/websocket/issues/242#issuecomment-633182220 type Conn struct { - noCopy + noCopy noCopy subprotocol string rwc io.ReadWriteCloser diff --git a/ws_js.go b/ws_js.go index b4011b5c..cf119da7 100644 --- a/ws_js.go +++ b/ws_js.go @@ -41,7 +41,7 @@ const ( // Conn provides a wrapper around the browser WebSocket API. type Conn struct { - noCopy + noCopy noCopy ws wsjs.WebSocket // read limit for a message in bytes.