don't tie game context to queue context
This commit is contained in:
parent
66c37a655a
commit
653fd061d0
@ -208,7 +208,7 @@ func (s *Server) joinAndServe(p person) {
|
|||||||
g := game.New(p.id, chall)
|
g := game.New(p.id, chall)
|
||||||
other := s.person(chall)
|
other := s.person(chall)
|
||||||
// TODO(zeph): save the game state s.t. we can provide a join channel
|
// 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.
|
// Reply with the game ID so they can share.
|
||||||
r := serve.GameStart{
|
r := serve.GameStart{
|
||||||
|
Loading…
Reference in New Issue
Block a user