Skip to content
Snippets Groups Projects
Commit 16c78c92 authored by Yang Gao's avatar Yang Gao
Browse files

Clean up unneeded includes and remove shutdown protobuf library

parent c637cc92
No related branches found
No related tags found
No related merge requests found
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* *
*/ */
#include <google/protobuf/stubs/common.h>
#include <grpc++/channel_arguments.h> #include <grpc++/channel_arguments.h>
#include <grpc++/channel_interface.h> #include <grpc++/channel_interface.h>
#include <grpc++/client_context.h> #include <grpc++/client_context.h>
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* *
*/ */
#include <google/protobuf/stubs/common.h>
#include <grpc++/channel_arguments.h> #include <grpc++/channel_arguments.h>
#include <grpc++/channel_interface.h> #include <grpc++/channel_interface.h>
#include <grpc++/client_context.h> #include <grpc++/client_context.h>
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* *
*/ */
#include <string>
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* *
*/ */
#include <string>
#include <grpc/grpc_security.h> #include <grpc/grpc_security.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
......
...@@ -595,6 +595,5 @@ int main(int argc, char** argv) { ...@@ -595,6 +595,5 @@ int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
int result = RUN_ALL_TESTS(); int result = RUN_ALL_TESTS();
grpc_shutdown(); grpc_shutdown();
google::protobuf::ShutdownProtobufLibrary();
return result; return result;
} }
...@@ -432,6 +432,5 @@ int main(int argc, char** argv) { ...@@ -432,6 +432,5 @@ int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
int result = RUN_ALL_TESTS(); int result = RUN_ALL_TESTS();
grpc_shutdown(); grpc_shutdown();
google::protobuf::ShutdownProtobufLibrary();
return result; return result;
} }
...@@ -265,6 +265,5 @@ int main(int argc, char** argv) { ...@@ -265,6 +265,5 @@ int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
int result = RUN_ALL_TESTS(); int result = RUN_ALL_TESTS();
grpc_shutdown(); grpc_shutdown();
google::protobuf::ShutdownProtobufLibrary();
return result; return result;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment