This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new e25b925c fix typo of naming service thread (#2158)
e25b925c is described below
commit e25b925ca2c139cbf90bd0a957c35270a65e20fa
Author: Bright Chen <[email protected]>
AuthorDate: Fri Mar 10 10:04:40 2023 +0800
fix typo of naming service thread (#2158)
---
src/brpc/details/naming_service_thread.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/brpc/details/naming_service_thread.cpp
b/src/brpc/details/naming_service_thread.cpp
index 28f49dab..ecbe9f25 100644
--- a/src/brpc/details/naming_service_thread.cpp
+++ b/src/brpc/details/naming_service_thread.cpp
@@ -446,7 +446,7 @@ int GetNamingServiceThread(
if (ptr != NULL) {
if (ptr->AddRefManually() == 0) {
// The ns thread's last intrusive_ptr was just destructed and
- // the removal-from-global-map-code in
ptr->~NamingServideThread()
+ // the removal-from-global-map-code in
ptr->~NamingServiceThread()
// is about to run or already running, need to create another
ns
// thread.
// Notice that we don't need to remove the reference because
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]