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

增加logout接口,让客户端可以主动退出服务器 #676

Closed
kebiao opened this issue Jul 21, 2018 · 6 comments
Closed

增加logout接口,让客户端可以主动退出服务器 #676

kebiao opened this issue Jul 21, 2018 · 6 comments
Assignees
Milestone

Comments

@kebiao
Copy link
Collaborator

kebiao commented Jul 21, 2018

No description provided.

@kebiao kebiao added this to the 2.x milestone Jul 21, 2018
@kebiao kebiao self-assigned this Jul 21, 2018
@kebiao kebiao closed this as completed Jul 21, 2018
@xiaoaq
Copy link

xiaoaq commented Nov 18, 2018

客户端调用了logout后,除了等待退出,还需要做其它动作吗,比如反注册所有事件或reset getsingle...

@kebiao
Copy link
Collaborator Author

kebiao commented Nov 18, 2018

能清理是好习惯,不过app退出了清不清都是一个结果

1 similar comment
@kebiao
Copy link
Collaborator Author

kebiao commented Nov 18, 2018

能清理是好习惯,不过app退出了清不清都是一个结果

@xiaoaq
Copy link

xiaoaq commented Nov 18, 2018

嗯。但如果游戏进程还在,只在进程内登出的话只调用logout能使客户端和服务端彻底脱离联系吗?知道再次login。

@kebiao
Copy link
Collaborator Author

kebiao commented Nov 19, 2018

可以, 要重新登录你最好reset一下插件。

@xiaoaq
Copy link

xiaoaq commented Nov 19, 2018

嗯,好的,我看login里已经还有做reset了

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

2 participants