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

msg_server经常core_dump #5

Open
tongmy opened this issue Nov 7, 2022 · 1 comment
Open

msg_server经常core_dump #5

tongmy opened this issue Nov 7, 2022 · 1 comment

Comments

@tongmy
Copy link

tongmy commented Nov 7, 2022

客户端杀掉进程,过几十秒后会导致服务端OnTimer函数里面core dump。
default.log如下:
2022-11-04 10:24:40,387 [INFO IM] - <MsgConn.cpp>|<228>|,client timeout, handle=-1, uid=1
2022-11-04 10:24:40,387 [INFO IM] - <MsgConn.cpp>|<176>|,Close client, handle=-1, user_id=1

@wuwao1
Copy link

wuwao1 commented Dec 18, 2022

void CMsgConn::Close(bool kick_user)这个函数改成void CMsgConn::Close()就好了,bool kick_user这个参数目前没什么意义

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