We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gateway的s.resp.kick中,先将conn对象销毁了,然后调用disconnect方法,而在disconnect方法中首先判断conn是否存在,如果不存在直接退出了,那这里调用disconnect方法没有意义吧。 conns[c.fd] = nil disconnect(c.fd)
The text was updated successfully, but these errors were encountered:
hi,是呢,此处调用disconnect意义不大,可以不调用。
Sorry, something went wrong.
No branches or pull requests
gateway的s.resp.kick中,先将conn对象销毁了,然后调用disconnect方法,而在disconnect方法中首先判断conn是否存在,如果不存在直接退出了,那这里调用disconnect方法没有意义吧。
conns[c.fd] = nil
disconnect(c.fd)
The text was updated successfully, but these errors were encountered: