Skip to content

Commit

Permalink
fix typo of naming service thread (apache#2158)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenBright authored and Yang Liming committed Oct 31, 2023
1 parent cd339ec commit cd7a62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brpc/details/naming_service_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd7a62e

Please sign in to comment.