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

This commit is contained in:
huangxiaolei committed 2022-12-21 14:25:14 +08:00
1 parent a288892f26
commit bfff798470
14 files changed
+348 -307

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ func Run(ctx context.Context, configFile string) error {
connectManager := net.NewKcpConnectManager(messageQueue)
connectManager.Start()
defer connectManager.Stop()
go func() {
outputChan := connectManager.GetKcpEventOutputChan()