-
Notifications
You must be signed in to change notification settings - Fork 656
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
RpcClient::Shutdown() 后,继续发送异步rpc请求,框架会挂掉 #200
Comments
是否能把重现问题的sample code发一份出来? |
|
` int main()
} |
@cyshi 是的 |
这个我觉得有点像指针delete后,又去访问,应该用户控制。 @qinzuoyan 看看。 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
再使用过程中碰到一种异常情况,调用Shutdown尝试关闭了rpc,但是后续又调用了异步的rpc请求。Shutdown 后会关闭连接,停掉回调线程组,清理线程组。后面调用异步请求后,判断RpcClient已经关闭,直接调用cntl->Done,但是任然使用rpc_impl的回掉线程组执行回掉,结果就是框架崩溃。
The text was updated successfully, but these errors were encountered: