aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-03-20 15:41:50 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-03-20 15:41:50 -0700
commitdadb32a01f93fed69198d52a5a6db904dee4f46c (patch)
tree1db01673774d44705009ce363884f38a4c1bc0cc /src
parentec427738eb2be182cc4308ab2b79cc4fe514c5ea (diff)
parent146070db8db189a62112ae0b84de5d12ffc02f3a (diff)
Merge pull request #5843 from dgquintas/fix-grpc-lib
fixed multiple initialization of globals
Diffstat (limited to 'src')
-rw-r--r--src/cpp/client/secure_credentials.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpp/client/secure_credentials.cc b/src/cpp/client/secure_credentials.cc
index 308455527c..c34b840f90 100644
--- a/src/cpp/client/secure_credentials.cc
+++ b/src/cpp/client/secure_credentials.cc
@@ -60,8 +60,7 @@ std::shared_ptr<grpc::Channel> SecureChannelCredentials::CreateChannel(
SecureCallCredentials::SecureCallCredentials(grpc_call_credentials* c_creds)
: c_creds_(c_creds) {
- internal::GrpcLibraryInitializer gli_initializer;
- gli_initializer.summon();
+ g_gli_initializer.summon();
}
bool SecureCallCredentials::ApplyToCall(grpc_call* call) {