Skip to content

Commit

Permalink
Don't embed noCopy...
Browse files Browse the repository at this point in the history
Whoops.
  • Loading branch information
nhooyr committed Oct 20, 2023
1 parent 84d7ddc commit b4e4f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ws_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b4e4f4f

Please sign in to comment.