CodeZHXS opened a new pull request, #2988: URL: https://github.com/apache/brpc/pull/2988
### What problem does this PR solve? Issue Number: #2983 Problem Summary: `TaskTracer::TraceImpl`, did not set the relevant variables(`m->traced`) on all return paths, which would cause a deadlock ### What is changed and the side effects? use `BRPC_SCOPE_EXIT` to ensure (`m->traced=false`). Changed: src/bthread/task_tracer.cpp `TaskTracer::TraceImpl()` function Side effects: - Performance effects: No - Breaking backward compatibility: No --- -- 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]
