Free glog and gflags before quit, to make leak detection easier
This commit is contained in:
@@ -17,4 +17,7 @@ int main(int argc, char *argv[]) {
|
|||||||
}, FLAGS_threads);
|
}, FLAGS_threads);
|
||||||
server.RegisterSignalHandlers();
|
server.RegisterSignalHandlers();
|
||||||
server.Serve();
|
server.Serve();
|
||||||
|
|
||||||
|
gflags::ShutDownCommandLineFlags();
|
||||||
|
google::ShutdownGoogleLogging();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user