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.cc346 vector<void (*)()>* shutdown_functions = NULL; variable
351 shutdown_functions = new vector<void (*)()>; in InitShutdownFunctions()
362 shutdown_functions->push_back(func); in OnShutdown()
375 if (internal::shutdown_functions == NULL) return; in ShutdownProtobufLibrary()
377 for (int i = 0; i < internal::shutdown_functions->size(); i++) { in ShutdownProtobufLibrary()
378 internal::shutdown_functions->at(i)(); in ShutdownProtobufLibrary()
380 delete internal::shutdown_functions; in ShutdownProtobufLibrary()
381 internal::shutdown_functions = NULL; in ShutdownProtobufLibrary()