Skip to content
This repository was archived by the owner on Nov 8, 2019. It is now read-only.
This repository was archived by the owner on Nov 8, 2019. It is now read-only.

关于链接从hub到agent转移的问题 #8

Description

@OpenGamex

有个疑问,想要退出client.dispatch必须要proxy.read收到消息,但在hub中signup后将user.exit设置true,它也需等到消息才会从dispatch中退出, 这个时候会read一条可能是agent处理的消息, 但是在将链接转移到agent中,agent通过proxy.read就读不到那条消息,反复测试了几次确实有此类问题。

追加: 看了client的代码,在login前加了一个无用的ping避开了此问题, 除了此类解决办法,时候还要更合适一点办法。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions