Merge pull request #3674 from pherl/shutdown

Test Shutdown can be called multiple times.
This commit is contained in:
Jisi Liu 2017-09-21 15:24:31 -07:00 committed by GitHub
commit c627530946

View File

@ -286,6 +286,8 @@ namespace {
struct ForceShutdown {
~ForceShutdown() {
ShutdownProtobufLibrary();
// Test to shutdown the library twice, which should succeed.
ShutdownProtobufLibrary();
}
} force_shutdown;