MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / ~Storage

Method ~Storage

src/thundersvm/util/log.cpp:2028–2045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2026 }
2027
2028 Storage::~Storage(void) {
2029 ELPP_INTERNAL_INFO(4, "Destroying storage");
2030#if ELPP_ASYNC_LOGGING
2031 ELPP_INTERNAL_INFO(5, "Replacing log dispatch callback to synchronous");
2032 uninstallLogDispatchCallback<base::AsyncLogDispatchCallback>(std::string("AsyncLogDispatchCallback"));
2033 installLogDispatchCallback<base::DefaultLogDispatchCallback>(std::string("DefaultLogDispatchCallback"));
2034 ELPP_INTERNAL_INFO(5, "Destroying asyncDispatchWorker");
2035 base::utils::safeDelete(m_asyncDispatchWorker);
2036 ELPP_INTERNAL_INFO(5, "Destroying asyncLogQueue");
2037 base::utils::safeDelete(m_asyncLogQueue);
2038#endif // ELPP_ASYNC_LOGGING
2039 ELPP_INTERNAL_INFO(5, "Destroying registeredHitCounters");
2040 base::utils::safeDelete(m_registeredHitCounters);
2041 ELPP_INTERNAL_INFO(5, "Destroying registeredLoggers");
2042 base::utils::safeDelete(m_registeredLoggers);
2043 ELPP_INTERNAL_INFO(5, "Destroying vRegistry");
2044 base::utils::safeDelete(m_vRegistry);
2045 }
2046
2047 bool Storage::hasCustomFormatSpecifier(const char* formatSpecifier) {
2048 base::threading::ScopedLock scopedLock(lock());

Callers

nothing calls this directly

Calls 1

safeDeleteFunction · 0.85

Tested by

no test coverage detected