chenBright commented on PR #1884: URL: https://github.com/apache/incubator-brpc/pull/1884#issuecomment-1214552962
> 我发现在bthread_keytable_pool_destroy里删除kt之前用`atexit_cancel`取消kt的回调析构函数似乎也可以防止重复析构 先thread_atexit再thread_atexit_cancel,似乎多做了一些无用功,而且直接在开始的时候就不将协程变量对应keytable加入到thread_atexit,应该会直观一点吧。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
