MCPcopy Create free account
hub / github.com/apache/trafficserver / ~LogObjectManager

Method ~LogObjectManager

src/proxy/logging/LogObject.cc:916–931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916LogObjectManager::~LogObjectManager()
917{
918 for (auto &_object : _objects) {
919 if (_object->refcount_dec() == 0) {
920 delete _object;
921 }
922 }
923
924 for (auto &_APIobject : _APIobjects) {
925 if (_APIobject->refcount_dec() == 0) {
926 delete _APIobject;
927 }
928 }
929
930 delete _APImutex;
931}
932
933int
934LogObjectManager::_manage_object(LogObject *log_object, bool is_api_object, int maxConflicts)

Callers

nothing calls this directly

Calls 1

refcount_decMethod · 0.80

Tested by

no test coverage detected