Free glog and gflags before quit, to make leak detection easier

This commit is contained in:
flamingcow
2019-05-10 20:48:17 -07:00
parent 88b1131104
commit ac42dd07dc

View File

@@ -17,4 +17,7 @@ int main(int argc, char *argv[]) {
}, FLAGS_threads);
server.RegisterSignalHandlers();
server.Serve();
gflags::ShutDownCommandLineFlags();
google::ShutdownGoogleLogging();
}