| 80 | |
| 81 | |
| 82 | CaseCache::~CaseCache() |
| 83 | { |
| 84 | for (auto it = m_lru_list.begin(); it != m_lru_list.end(); ++it) { |
| 85 | CaseCacheNode *node = *it; |
| 86 | delete node; |
| 87 | } |
| 88 | |
| 89 | for (auto it = m_spare_node_list.begin(); it != m_spare_node_list.end(); ++it) { |
| 90 | CaseCacheNode *node = *it; |
| 91 | delete node; |
| 92 | } |
| 93 | |
| 94 | DeleteCriticalSection(&m_crit); |
| 95 | } |
| 96 | |
| 97 | void CaseCache::lock() |
| 98 | { |
nothing calls this directly
no outgoing calls
no test coverage detected