Skip to content

Commit

Permalink
Merge pull request #92 from mattn/fix-ctx
Browse files Browse the repository at this point in the history
fix context. this must be another context
  • Loading branch information
mattn committed Oct 6, 2023
2 parents 991bcc1 + 6b33ff0 commit b7ce50a
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 b7ce50a

Please sign in to comment.