Skip to content

Add g_gli_initializer to server_context#25759

Merged
veblush merged 1 commit intogrpc:masterfrom
veblush:g-gli-server-context
Mar 18, 2021
Merged

Add g_gli_initializer to server_context#25759
veblush merged 1 commit intogrpc:masterfrom
veblush:g-gli-server-context

Conversation

@veblush
Copy link
Copy Markdown
Contributor

@veblush veblush commented Mar 18, 2021

server_context also needs to have a static GrpcLibraryInitializer variable to make sure that g_core_codegen_interface is properly instantiated so that MetadataMap::Destroy can work without segfault.

Fixes #22551

@veblush veblush merged commit fb5543c into grpc:master Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug lang/c++ release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C++ v1.19.0 and v1.28.0 Segfault at MetadataMap::destroy() when trying to unit test

2 participants