diff options
Diffstat (limited to 'examples/pubsub/main.cc')
-rw-r--r-- | examples/pubsub/main.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/pubsub/main.cc b/examples/pubsub/main.cc index cf0f21eace..68620e64c5 100644 --- a/examples/pubsub/main.cc +++ b/examples/pubsub/main.cc @@ -64,7 +64,6 @@ const char kMessageData[] = "Test Data"; } // namespace int main(int argc, char** argv) { - grpc_init(); grpc::testing::InitTest(&argc, &argv, true); gpr_log(GPR_INFO, "Start PUBSUB client"); @@ -145,7 +144,5 @@ int main(int argc, char** argv) { subscriber.Shutdown(); publisher.Shutdown(); - channel.reset(); - grpc_shutdown(); return 0; } |