EndpointAddress ref set to be atomic

This commit is contained in:
XieHan
2021-10-29 13:34:05 +08:00
parent b9d6d70e59
commit ef36dbca04
+1 -1
View File
@@ -85,7 +85,7 @@ public:
std::string host;
std::string port;
unsigned int fail_count;
unsigned int ref;
std::atomic<int> ref;
long long broken_timeout;
PolicyAddrParams *params;