mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 15:32:26 +08:00
优化登录、离线、服务器重启等会话连接问题
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user