From 653fd061d017d8e3b6ec346314a48eb6e2972efd Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Fri, 2 Feb 2024 18:43:10 -0600 Subject: [PATCH] don't tie game context to queue context --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 5490cec..5a6a330 100644 --- a/server.go +++ b/server.go @@ -208,7 +208,7 @@ func (s *Server) joinAndServe(p person) { g := game.New(p.id, chall) other := s.person(chall) // TODO(zeph): save the game state s.t. we can provide a join channel - go gameActor(ctx, g, p, other, nil) + go gameActor(context.TODO(), g, p, other, nil) } // Reply with the game ID so they can share. r := serve.GameStart{