| 158 | |
| 159 | ULONG CoreApplicationEra::AddRef() |
| 160 | { |
| 161 | return InterlockedIncrement(&m_RefCount); |
| 162 | } |
| 163 | |
| 164 | ULONG CoreApplicationEra::Release() |
| 165 | { |
| 166 | ULONG RefCount = InterlockedDecrement(&m_RefCount); |
| 167 | if (!RefCount) delete this; |
| 168 | return RefCount; |
| 169 | } |
nothing calls this directly
no outgoing calls
no test coverage detected