@ -58,8 +58,12 @@ static CoreCodegen g_core_codegen;
class GrpcLibraryInitializer GRPC_FINAL {
public:
GrpcLibraryInitializer() {
grpc::g_glip = &g_gli;
grpc::g_core_codegen_interface = &g_core_codegen;
if (grpc::g_glip == nullptr) {
}
if (grpc::g_core_codegen_interface == nullptr) {
/// A no-op method to force the linker to reference this class, which will
@ -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) {