diff options
author | Garret Kelly <gdk@google.com> | 2017-06-07 16:25:36 -0400 |
---|---|---|
committer | Garret Kelly <gdk@google.com> | 2017-07-31 15:07:59 -0400 |
commit | 9663d0337ee7e53cf2029ae6dfd5d51a434b9b51 (patch) | |
tree | 6c9c80d64081e4a70d364b2fcc2fc68094ac1923 /tools | |
parent | 4042e4c4d4b36891a2c220c8d5b69b9ad73a77bd (diff) |
Add a GrpcLibraryInitializer to client_context.cc
It's feasible that a program be written/linked such that it only use
ClientContext from grpc++, which could end up with the other instances
of GrpcLibraryInitializer not ending up in the final binary. Add a
GrpcLibraryInitializer to client_context.cc to ensure that the library
is initialized. The primary side-effect of the library not being
initialized when only using a ClientContext is that the destructor for
ClientContext indirectly ends up trying to call through
g_core_codegen_interface when destructing its metadata, which is null.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions