Merge pull request #3674 from pherl/shutdown
Test Shutdown can be called multiple times.
This commit is contained in:
commit
c627530946
@ -286,6 +286,8 @@ namespace {
|
||||
struct ForceShutdown {
|
||||
~ForceShutdown() {
|
||||
ShutdownProtobufLibrary();
|
||||
// Test to shutdown the library twice, which should succeed.
|
||||
ShutdownProtobufLibrary();
|
||||
}
|
||||
} force_shutdown;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user