Home
last modified time | relevance | path

Searched refs:shutdown_functions (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dcommon.cc412 vector<void (*)()>* shutdown_functions = NULL; variable
417 shutdown_functions = new vector<void (*)()>; in InitShutdownFunctions()
428 shutdown_functions->push_back(func); in OnShutdown()
441 if (internal::shutdown_functions == NULL) return; in ShutdownProtobufLibrary()
443 for (int i = 0; i < internal::shutdown_functions->size(); i++) { in ShutdownProtobufLibrary()
444 internal::shutdown_functions->at(i)(); in ShutdownProtobufLibrary()
446 delete internal::shutdown_functions; in ShutdownProtobufLibrary()
447 internal::shutdown_functions = NULL; in ShutdownProtobufLibrary()