Skip to content

Commit

Permalink
fix context. this must be another context
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Oct 6, 2023
1 parent 991bcc1 commit 6b33ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,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)
}
}()

Expand Down

0 comments on commit 6b33ff0

Please sign in to comment.