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.cc414 vector<void (*)()>* shutdown_functions = NULL; variable
419 shutdown_functions = new vector<void (*)()>; in InitShutdownFunctions()
430 shutdown_functions->push_back(func); in OnShutdown()
443 if (internal::shutdown_functions == NULL) return; in ShutdownProtobufLibrary()
445 for (int i = 0; i < internal::shutdown_functions->size(); i++) { in ShutdownProtobufLibrary()
446 internal::shutdown_functions->at(i)(); in ShutdownProtobufLibrary()
448 delete internal::shutdown_functions; in ShutdownProtobufLibrary()
449 internal::shutdown_functions = NULL; in ShutdownProtobufLibrary()