Commit c6275309 authored by Jisi Liu's avatar Jisi Liu Committed by GitHub

Merge pull request #3674 from pherl/shutdown

Test Shutdown can be called multiple times.
parents 4fc75296 b091bfb0
...@@ -286,6 +286,8 @@ namespace { ...@@ -286,6 +286,8 @@ namespace {
struct ForceShutdown { struct ForceShutdown {
~ForceShutdown() { ~ForceShutdown() {
ShutdownProtobufLibrary(); ShutdownProtobufLibrary();
// Test to shutdown the library twice, which should succeed.
ShutdownProtobufLibrary();
} }
} force_shutdown; } force_shutdown;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment