Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提交之前请查看是否有相关 issue,谢谢。 #104

Open
MinkeCheng opened this issue Jul 22, 2020 · 0 comments
Open

提交之前请查看是否有相关 issue,谢谢。 #104

MinkeCheng opened this issue Jul 22, 2020 · 0 comments

Comments

@MinkeCheng
Copy link

多人群聊时消息先后顺序乱了,程序中用户与channel都是一对一的关系,群聊的时候使用的for循环发送,替代了原来的ChannelGroup 发送,使用for循环发消息时线程不安全导致了多人发送时消息穿插。是否有更好的办法呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant