优化登录、离线、服务器重启等会话连接问题

This commit is contained in:
huangxiaolei
2022-12-21 14:25:14 +08:00
parent a288892f26
commit bfff798470
14 changed files with 348 additions and 307 deletions

View File

@@ -49,7 +49,6 @@ func Run(ctx context.Context, configFile string) error {
defer messageQueue.Close()
gameManager := game.NewGameManager(db, messageQueue)
gameManager.Start()
defer gameManager.Stop()
c := make(chan os.Signal, 1)